From 26d7da68fc81e9c881c5a27e39f50606a00a453a Mon Sep 17 00:00:00 2001 From: laurentBerger Date: Fri, 8 May 2015 09:57:05 +0200 Subject: [PATCH] warning C4101: 'e' line 146 --- samples/cpp/matchmethod_orb_akaze_brisk.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/samples/cpp/matchmethod_orb_akaze_brisk.cpp b/samples/cpp/matchmethod_orb_akaze_brisk.cpp index b14abfe..7b595b5 100644 --- a/samples/cpp/matchmethod_orb_akaze_brisk.cpp +++ b/samples/cpp/matchmethod_orb_akaze_brisk.cpp @@ -86,7 +86,8 @@ int main(int argc, char *argv[]) else if (*itDesc == "BRISK"){ b = BRISK::create(); } - try { + try + { // We can detect keypoint with detect method b->detect(img1, keyImg1, Mat()); // and compute their descriptors with method compute @@ -144,6 +145,8 @@ int main(int argc, char *argv[]) } catch (Exception& e) { + cout << e.msg << endl; + cout << "Cumulative distance cannot be computed." << endl; desMethCmp.push_back(-1); } } -- 2.7.4