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
63efa5b2
Commit
63efa5b2
authored
Jan 09, 2012
by
Marius Muja
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixing ticket #1539
parent
dd311b8d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
any.h
modules/flann/include/opencv2/flann/any.h
+2
-2
No files found.
modules/flann/include/opencv2/flann/any.h
View file @
63efa5b2
...
...
@@ -43,7 +43,7 @@ struct base_any_policy
virtual
void
clone
(
void
*
const
*
src
,
void
**
dest
)
=
0
;
virtual
void
move
(
void
*
const
*
src
,
void
**
dest
)
=
0
;
virtual
void
*
get_value
(
void
**
src
)
=
0
;
virtual
size_t
get_size
()
=
0
;
virtual
::
size_t
get_size
()
=
0
;
virtual
const
std
::
type_info
&
type
()
=
0
;
virtual
void
print
(
std
::
ostream
&
out
,
void
*
const
*
src
)
=
0
;
};
...
...
@@ -51,7 +51,7 @@ struct base_any_policy
template
<
typename
T
>
struct
typed_base_any_policy
:
base_any_policy
{
virtual
size_t
get_size
()
{
return
sizeof
(
T
);
}
virtual
::
size_t
get_size
()
{
return
sizeof
(
T
);
}
virtual
const
std
::
type_info
&
type
()
{
return
typeid
(
T
);
}
};
...
...
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