istream::operator bool() is explicit in C++11, use git diff
This commit is contained in:
+2
-2
@@ -1753,12 +1753,12 @@ void MakeLower( wchar_t *p, size_t iLen )
|
||||
|
||||
bool operator>>(const RString& lhs, int& rhs)
|
||||
{
|
||||
return istringstream(lhs) >> rhs;
|
||||
return !!(istringstream(lhs) >> rhs);
|
||||
}
|
||||
|
||||
bool operator>>(const RString& lhs, float& rhs)
|
||||
{
|
||||
return istringstream(lhs) >> rhs;
|
||||
return !!(istringstream(lhs) >> rhs);
|
||||
}
|
||||
|
||||
int StringToInt( const RString &sString )
|
||||
|
||||
Reference in New Issue
Block a user