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
83e21568
Commit
83e21568
authored
Aug 14, 2013
by
Bahram Dahi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Minor bug fix, missing const in method signature
parent
6cf9070b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
operations.hpp
modules/core/include/opencv2/core/operations.hpp
+1
-1
No files found.
modules/core/include/opencv2/core/operations.hpp
View file @
83e21568
...
...
@@ -3026,7 +3026,7 @@ template<typename _Tp> static inline void read(const FileNode& node, Complex<_Tp
value
=
temp
.
size
()
!=
2
?
default_value
:
Complex
<
_Tp
>
(
saturate_cast
<
_Tp
>
(
temp
[
0
]),
saturate_cast
<
_Tp
>
(
temp
[
1
]));
}
template
<
typename
_Tp
>
static
inline
void
read
(
const
FileNode
&
node
,
Rect_
<
_Tp
>&
value
,
Rect_
<
_Tp
>&
default_value
)
template
<
typename
_Tp
>
static
inline
void
read
(
const
FileNode
&
node
,
Rect_
<
_Tp
>&
value
,
const
Rect_
<
_Tp
>&
default_value
)
{
vector
<
_Tp
>
temp
;
FileNodeIterator
it
=
node
.
begin
();
it
>>
temp
;
value
=
temp
.
size
()
!=
4
?
default_value
:
Rect_
<
_Tp
>
(
saturate_cast
<
_Tp
>
(
temp
[
0
]),
saturate_cast
<
_Tp
>
(
temp
[
1
]),
...
...
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