summaryrefslogtreecommitdiff
path: root/libs/ardour/location_importer.cc
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2018-10-26 14:25:55 +0200
committerRobin Gareus <robin@gareus.org>2018-10-26 14:25:55 +0200
commit08d205c533fa3380a97d646b3a50c9f9426f3a80 (patch)
treea37c8ff10d0e4e2d9491c5bedc2e71f0dc72479e /libs/ardour/location_importer.cc
parent7c3fd2fe794e5073760457300d24a23f23c54012 (diff)
Fix some compiler warnings (exception catches)
Diffstat (limited to 'libs/ardour/location_importer.cc')
-rw-r--r--libs/ardour/location_importer.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/ardour/location_importer.cc b/libs/ardour/location_importer.cc
index b209e5f63f..60b6161a4e 100644
--- a/libs/ardour/location_importer.cc
+++ b/libs/ardour/location_importer.cc
@@ -49,7 +49,7 @@ LocationImportHandler::LocationImportHandler (XMLTree const & source, Session &
for (XMLNodeList::const_iterator it = locations.begin(); it != locations.end(); ++it) {
try {
elements.push_back (ElementPtr ( new LocationImporter (source, session, *this, **it)));
- } catch (failed_constructor err) {
+ } catch (failed_constructor const&) {
_dirty = true;
}
}