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();
}
}
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();
}
}
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;
}
}