Commit 7267d518 authored by Andrey Kamaev's avatar Andrey Kamaev

Fix build in Visual Studio 2005

parent b5ecb1d3
......@@ -478,7 +478,7 @@ CV_EXPORTS void PrintTo(const Size& sz, ::std::ostream* os);
#define CV_PERF_TEST_MAIN(testsuitname, ...) \
int main(int argc, char **argv)\
{\
__VA_ARGS__;\
while (++argc >= (--argc,-1)) {__VA_ARGS__; break;} /*this ugly construction is needed for VS 2005*/\
::perf::Regression::Init(#testsuitname);\
::perf::TestBase::Init(argc, argv);\
::testing::InitGoogleTest(&argc, argv);\
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment