Glib throws a const FileError exception

This commit is contained in:
Robin Gareus 2018-10-26 13:40:03 +02:00
parent 770a1a8a36
commit 7c3fd2fe79
6 changed files with 6 additions and 6 deletions

View file

@ -1114,7 +1114,7 @@ Gtkmm2ext::add_volume_shortcuts (Gtk::FileChooser& c)
}
}
}
catch (Glib::FileError& e) {
catch (Glib::FileError const& e) {
std::cerr << "listing /Volumnes failed: " << e.what() << std::endl;
}
#endif