From 7da16d6f475ddc6626642d288b432a6d7755dc3c Mon Sep 17 00:00:00 2001 From: Ilya Lavrenov Date: Mon, 17 Aug 2015 01:44:50 +0300 Subject: [PATCH] used proper method --- samples/opengl/opengl_interop.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/opengl/opengl_interop.cpp b/samples/opengl/opengl_interop.cpp index 433da782da..1345c2dd6a 100644 --- a/samples/opengl/opengl_interop.cpp +++ b/samples/opengl/opengl_interop.cpp @@ -496,7 +496,7 @@ using namespace std; int main(int argc, char** argv) { cv::CommandLineParser parser(argc, argv, keys); - bool useCamera = parser.has("camera"); + bool useCamera = parser.get("camera"); string file = parser.get("file"); bool showHelp = parser.get("help");