apps: catch() with "const reference"

This commit is contained in:
Alexander Alekhin 2018-06-06 18:23:29 +03:00
parent 7c3090ddcf
commit caa6915b83

View File

@ -217,7 +217,7 @@ int main(int argc, char** argv)
(*it)->resetState();
}
}
catch (std::runtime_error exp) {
catch (const std::runtime_error& exp) {
std::cout << exp.what() << std::endl;
}