mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-06 01:50:38 +00:00
Fix compilation on GCC 8. Closes #984
This commit is contained in:
@@ -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());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user