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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user