mirror of
https://github.com/cookiengineer/audacity
synced 2025-05-05 14:18:53 +02:00
Change required to compile certain uses of finally, I don't know why
This commit is contained in:
parent
d174099c3d
commit
a9396b912d
@ -745,7 +745,7 @@ using Destroy_ptr = std::unique_ptr<T, Destroyer<T>>;
|
||||
// Construct this from any copyable function object, such as a lambda
|
||||
template <typename F>
|
||||
struct Final_action {
|
||||
Final_action(F f) : clean{ f } {}
|
||||
Final_action(F f) : clean( f ) {}
|
||||
~Final_action() { clean(); }
|
||||
F clean;
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user