Change again.
authorpxli168 <pxli168@163.com>
Tue, 18 Feb 2014 02:13:30 +0000 (10:13 +0800)
committerpxli168 <pxli168@163.com>
Tue, 18 Feb 2014 02:13:30 +0000 (10:13 +0800)
Opps.

modules/core/src/command_line_parser.cpp

index 0fa3304..2818e75 100644 (file)
@@ -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;