Fix incorrect exception types

This commit is contained in:
sfan5
2018-10-20 22:38:09 +02:00
parent f909304e1e
commit 657499e981
2 changed files with 2 additions and 2 deletions

View File

@ -221,7 +221,7 @@ int main(int argc, char *argv[])
generator.parseColorsFile(colors);
generator.generate(input, output);
} catch(std::runtime_error e) {
} catch(std::runtime_error &e) {
std::cerr << "Exception: " << e.what() << std::endl;
return 1;
}