fix catch by value

This commit is contained in:
Günter Obiltschnig
2020-02-07 18:39:17 +01:00
parent 923b5bc649
commit e6c9758684

View File

@@ -46,7 +46,7 @@ TextTestResult::TextTestResult(const std::string& ignore):
ifs.close(); ifs.close();
} }
} }
catch (std::exception e) catch (std::exception& e)
{ {
std::cout << e.what() << std::endl; std::cout << e.what() << std::endl;
} }