From c1e68c91b5ddccc85641c77bb04cae1181aa7206 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Sat, 27 Oct 2018 10:33:07 +0200 Subject: [PATCH] Fix another compiler warning --- libs/ardour/audio_track_importer.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/ardour/audio_track_importer.cc b/libs/ardour/audio_track_importer.cc index af6d9a613a..4b145e1a9d 100644 --- a/libs/ardour/audio_track_importer.cc +++ b/libs/ardour/audio_track_importer.cc @@ -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(); } }