summaryrefslogtreecommitdiff
path: root/src/common/cmdparse.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/cmdparse.cc')
-rw-r--r--src/common/cmdparse.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/cmdparse.cc b/src/common/cmdparse.cc
index 26bcde3fdac..370591cb3bb 100644
--- a/src/common/cmdparse.cc
+++ b/src/common/cmdparse.cc
@@ -185,7 +185,7 @@ cmdmap_from_json(vector<string> cmd, map<string, cmd_vartype> *mapp, stringstrea
}
}
return true;
- } catch (runtime_error e) {
+ } catch (runtime_error &e) {
ss << e.what();
return false;
}