projects
/
platform
/
upstream
/
opencv.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
70d462b
)
Change again.
author
pxli168
<pxli168@163.com>
Tue, 18 Feb 2014 02:13:30 +0000
(10:13 +0800)
committer
pxli168
<pxli168@163.com>
Tue, 18 Feb 2014 02:13:30 +0000
(10:13 +0800)
Opps.
modules/core/src/command_line_parser.cpp
patch
|
blob
|
history
diff --git
a/modules/core/src/command_line_parser.cpp
b/modules/core/src/command_line_parser.cpp
index
0fa3304
..
2818e75
100644
(file)
--- a/
modules/core/src/command_line_parser.cpp
+++ b/
modules/core/src/command_line_parser.cpp
@@
-65,7
+65,7
@@
static void from_str(const String& str, int type, void* dst)
{
std::string temp;
ss >> temp;
- *(bool*) = temp == "true";
+ *(bool*)
dst
= temp == "true";
}
else if( type == Param::UNSIGNED_INT )
ss >> *(unsigned*)dst;