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
6c118ebc
Commit
6c118ebc
authored
May 12, 2014
by
1Hyena
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Changed ostringstream to ostream for new print_params and added the old
version of print_params for backwards compatibility.
parent
dfdb0938
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
params.h
modules/flann/include/opencv2/flann/params.h
+6
-1
No files found.
modules/flann/include/opencv2/flann/params.h
View file @
6c118ebc
...
...
@@ -79,14 +79,19 @@ T get_param(const IndexParams& params, std::string name)
}
}
inline
void
print_params
(
const
IndexParams
&
params
,
std
::
ostr
ingstr
eam
&
stream
)
inline
void
print_params
(
const
IndexParams
&
params
,
std
::
ostream
&
stream
)
{
IndexParams
::
const_iterator
it
;
for
(
it
=
params
.
begin
();
it
!=
params
.
end
();
++
it
)
{
stream
<<
it
->
first
<<
" : "
<<
it
->
second
<<
std
::
endl
;
}
}
inline
void
print_params
(
const
IndexParams
&
params
)
{
print_params
(
params
,
std
::
cout
);
}
}
...
...
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