mirror of
https://github.com/cookiengineer/audacity
synced 2025-06-15 15:49:36 +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
|
// Construct this from any copyable function object, such as a lambda
|
||||||
template <typename F>
|
template <typename F>
|
||||||
struct Final_action {
|
struct Final_action {
|
||||||
Final_action(F f) : clean{ f } {}
|
Final_action(F f) : clean( f ) {}
|
||||||
~Final_action() { clean(); }
|
~Final_action() { clean(); }
|
||||||
F clean;
|
F clean;
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user