Fix compilation on GCC 8. Closes #984

This commit is contained in:
baldurk committed 2018-05-15 19:44:17 +01:00
1 parent 8c5e8081c5
commit d8a64c4172
6 files changed
+22 -7

No files matched your search

+1 -1
View File
@@ -1300,7 +1300,7 @@ int renderdoccmd(const GlobalEnvironment &env, std::vector<std::string> &argv)
clean_up();
return ret;
}
catch(std::exception e)
catch(std::exception &e)
{
fprintf(stderr, "Unexpected exception: %s\n", e.what());