Commit caa6915b authored by Alexander Alekhin's avatar Alexander Alekhin

apps: catch() with "const reference"

parent 7c3090dd
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment