From fa8add8686976d7f006bd10a8e5624f1d692c62f Mon Sep 17 00:00:00 2001 From: Rostislav Vasilikhin Date: Mon, 21 Nov 2016 10:50:29 +0300 Subject: [PATCH] compilation fixed for C++98 --- 3rdparty/openvx/include/ivx.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/3rdparty/openvx/include/ivx.hpp b/3rdparty/openvx/include/ivx.hpp index 6dc4170..cd36e07 100644 --- a/3rdparty/openvx/include/ivx.hpp +++ b/3rdparty/openvx/include/ivx.hpp @@ -410,7 +410,6 @@ public: { return ref != 0; } #endif -#ifdef IVX_USE_CXX98 /// Getting a context that is kept in each OpenVX 'object' (call get()) template C get() const @@ -420,7 +419,8 @@ public: // vxGetContext doesn't increment ref count, let do it in wrapper c-tor return C(c, true); } -#else + +#ifndef IVX_USE_CXX98 /// Getting a context that is kept in each OpenVX 'object' template::value>::type> C getContext() const @@ -1567,7 +1567,7 @@ static const vx_enum /// vxQueryThreshold() wrapper template void query(vx_enum att, T& val) const - { IVX_CHECK_STATUS( vxQueryThreshold(ref, att, &value, sizeof(val)) ); } + { IVX_CHECK_STATUS( vxQueryThreshold(ref, att, &val, sizeof(val)) ); } /// vxQueryThreshold(VX_THRESHOLD_TYPE) wrapper vx_enum type() const -- 2.7.4