mirror of
https://github.com/cookiengineer/audacity
synced 2026-01-12 23:55:50 +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
|
||||
template <typename F>
|
||||
struct Final_action {
|
||||
Final_action(F f) : clean{ f } {}
|
||||
Final_action(F f) : clean( f ) {}
|
||||
~Final_action() { clean(); }
|
||||
F clean;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user