Change again.

Opps.
This commit is contained in:
pxli168 2014-02-18 10:13:30 +08:00
parent 70d462b352
commit 44ecb727c5

View 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;