refactoring catching all exceptions as const ref

This commit is contained in:
tompollok
2018-10-19 22:21:20 +02:00
committed by Alexander Alekhin
parent b74b05d1b3
commit 2da56d5af6
38 changed files with 87 additions and 87 deletions

View File

@@ -378,7 +378,7 @@ public:
}
} // try
catch (cv::Exception& e)
catch (const cv::Exception& e)
{
std::cerr << "Exception: " << e.what() << std::endl;
cleanup();