1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-21 19:33:03 +04:00

apps: catch() with "const reference"

This commit is contained in:
Alexander Alekhin
2018-06-06 18:23:29 +03:00
parent 7c3090ddcf
commit caa6915b83
+1 -1
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;
}