diff --git a/3rdparty/openvx/include/ivx.hpp b/3rdparty/openvx/include/ivx.hpp index 6dc417051d2869474297107bbf7dbb0e959d3361..cd36e071c741170b66c5cbdc8a2f114c2b316ca0 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