Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
O
opencv
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
opencv
Commits
fa8add86
Commit
fa8add86
authored
Nov 21, 2016
by
Rostislav Vasilikhin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
compilation fixed for C++98
parent
bfecea48
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
ivx.hpp
3rdparty/openvx/include/ivx.hpp
+3
-3
No files found.
3rdparty/openvx/include/ivx.hpp
View file @
fa8add86
...
@@ -410,7 +410,6 @@ public:
...
@@ -410,7 +410,6 @@ public:
{
return
ref
!=
0
;
}
{
return
ref
!=
0
;
}
#endif
#endif
#ifdef IVX_USE_CXX98
/// Getting a context that is kept in each OpenVX 'object' (call get<Context>())
/// Getting a context that is kept in each OpenVX 'object' (call get<Context>())
template
<
typename
C
>
template
<
typename
C
>
C
get
()
const
C
get
()
const
...
@@ -420,7 +419,8 @@ public:
...
@@ -420,7 +419,8 @@ public:
// vxGetContext doesn't increment ref count, let do it in wrapper c-tor
// vxGetContext doesn't increment ref count, let do it in wrapper c-tor
return
C
(
c
,
true
);
return
C
(
c
,
true
);
}
}
#else
#ifndef IVX_USE_CXX98
/// Getting a context that is kept in each OpenVX 'object'
/// Getting a context that is kept in each OpenVX 'object'
template
<
typename
C
=
Context
,
typename
=
typename
std
::
enable_if
<
std
::
is_same
<
C
,
Context
>::
value
>::
type
>
template
<
typename
C
=
Context
,
typename
=
typename
std
::
enable_if
<
std
::
is_same
<
C
,
Context
>::
value
>::
type
>
C
getContext
()
const
C
getContext
()
const
...
@@ -1567,7 +1567,7 @@ static const vx_enum
...
@@ -1567,7 +1567,7 @@ static const vx_enum
/// vxQueryThreshold() wrapper
/// vxQueryThreshold() wrapper
template
<
typename
T
>
template
<
typename
T
>
void
query
(
vx_enum
att
,
T
&
val
)
const
void
query
(
vx_enum
att
,
T
&
val
)
const
{
IVX_CHECK_STATUS
(
vxQueryThreshold
(
ref
,
att
,
&
val
ue
,
sizeof
(
val
))
);
}
{
IVX_CHECK_STATUS
(
vxQueryThreshold
(
ref
,
att
,
&
val
,
sizeof
(
val
))
);
}
/// vxQueryThreshold(VX_THRESHOLD_TYPE) wrapper
/// vxQueryThreshold(VX_THRESHOLD_TYPE) wrapper
vx_enum
type
()
const
vx_enum
type
()
const
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment