Change some RString methods to free functions
These ones aren't a std::string method. Doing this helps the RString to std::string migration.
This commit is contained in:
@@ -173,9 +173,9 @@ static void Deserialize( Song &out, const Json::Value &root )
|
||||
out.m_fMusicSampleStartSeconds = (float)root["SampleStart"].asDouble();
|
||||
out.m_fMusicSampleLengthSeconds = (float)root["SampleLength"].asDouble();
|
||||
RString sSelectable = root["Selectable"].asString();
|
||||
if( sSelectable.EqualsNoCase("YES") )
|
||||
if( EqualsNoCase(sSelectable, "YES") )
|
||||
out.m_SelectionDisplay = out.SHOW_ALWAYS;
|
||||
else if( sSelectable.EqualsNoCase("NO") )
|
||||
else if( EqualsNoCase(sSelectable, "NO") )
|
||||
out.m_SelectionDisplay = out.SHOW_NEVER;
|
||||
|
||||
out.m_sSongFileName = root["SongFileName"].asString();
|
||||
|
||||
Reference in New Issue
Block a user