Commit 44ecb727 authored by pxli168's avatar pxli168

Change again.

Opps.
parent 70d462b3
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment