Glib throws a const FileError exception
[ardour.git] / libs / ardour / session_directory.cc
index 1f6b991f8282b8fe0945b8a3cc7af8cfa0a0dc86..fd90959ac4ca04dfa7335e906f41bfe1c467d7b0 100644 (file)
@@ -167,7 +167,7 @@ SessionDirectory::sources_root () const
                        PBD::fatal << string_compose (_("The session's interchange dir is tainted.\nThere is more than one folder in '%1'.\nPlease remove extra subdirs to reduce possible filename ambiguties."), sources_root_path) << endmsg;
                        assert (0); // not reached
                }
-       } catch (Glib::FileError) {
+       } catch (Glib::FileError const&) {
                ;
        }