mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-30 08:53:08 +01:00
Fix some compiler warnings (exception catches)
This commit is contained in:
parent
7c3fd2fe79
commit
08d205c533
3 changed files with 3 additions and 3 deletions
|
|
@ -55,7 +55,7 @@ AudioPlaylistImportHandler::AudioPlaylistImportHandler (XMLTree const & source,
|
|||
if ( !type || type->value() == "audio" ) {
|
||||
try {
|
||||
elements.push_back (ElementPtr ( new AudioPlaylistImporter (source, session, *this, **it)));
|
||||
} catch (failed_constructor err) {
|
||||
} catch (failed_constructor const&) {
|
||||
set_dirty();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -62,7 +62,7 @@ AudioRegionImportHandler::create_regions_from_children (XMLNode const & node, El
|
|||
if (!(*it)->name().compare ("Region") && (!type || type->value() == "audio") ) {
|
||||
try {
|
||||
list.push_back (ElementPtr ( new AudioRegionImporter (source, session, *this, **it)));
|
||||
} catch (failed_constructor err) {
|
||||
} catch (failed_constructor const&) {
|
||||
set_dirty();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue