Fix another compiler warning
authorRobin Gareus <robin@gareus.org>
Sat, 27 Oct 2018 08:33:07 +0000 (10:33 +0200)
committerRobin Gareus <robin@gareus.org>
Sat, 27 Oct 2018 08:33:07 +0000 (10:33 +0200)
libs/ardour/audio_track_importer.cc

index af6d9a613ae144645127bd0003e7eaf1b5b48c0f..4b145e1a9d4fc64da9699fc66d82cc944473be1c 100644 (file)
@@ -55,7 +55,7 @@ AudioTrackImportHandler::AudioTrackImportHandler (XMLTree const & source, Sessio
                if ( (!type || type->value() == "audio") &&  ((*it)->property ("diskstream") != 0 || (*it)->property ("diskstream-id") != 0)) {
                        try {
                                elements.push_back (ElementPtr ( new AudioTrackImporter (source, session, *this, **it, pl_handler)));
-                       } catch (failed_constructor err) {
+                       } catch (failed_constructor const&) {
                                set_dirty();
                        }
                }