fix -Wcatch-value=, fix -Wpedantic
This commit is contained in:
@@ -1008,7 +1008,7 @@ void GestureNavigationStyle::onRollGesture(int direction)
|
||||
code << "Gui.runCommand(\"" << cmd << "\")";
|
||||
try {
|
||||
Base::Interpreter().runString(code.str().c_str());
|
||||
} catch (Base::PyException exc) {
|
||||
} catch (Base::PyException& exc) {
|
||||
exc.ReportException();
|
||||
} catch (...) {
|
||||
Base::Console().Error("GestureNavigationStyle::onRollGesture: unknown C++ exception when invoking command %s\n", cmd.c_str());
|
||||
|
||||
Reference in New Issue
Block a user