mirror of
https://github.com/cookiengineer/audacity
synced 2026-01-13 08:05:52 +01:00
Change required to compile certain uses of finally, I don't know why
This commit is contained in:
@@ -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;
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user