mirror of
https://github.com/cookiengineer/audacity
synced 2025-11-14 17:14:07 +01:00
Simplify GuardedCall and default its return type to void
This commit is contained in:
@@ -329,7 +329,7 @@ XMLFileWriter::XMLFileWriter
|
||||
XMLFileWriter::~XMLFileWriter()
|
||||
{
|
||||
// Don't let a destructor throw!
|
||||
GuardedCall< void >( [&] {
|
||||
GuardedCall( [&] {
|
||||
if (!mCommitted) {
|
||||
auto fileName = GetName();
|
||||
if ( IsOpened() )
|
||||
|
||||
Reference in New Issue
Block a user