Skip to content

Commit

Permalink
COMMON: Use Common::String::clear instead of assigning "".
Browse files Browse the repository at this point in the history
  • Loading branch information
Johannes Schickel committed Aug 11, 2014
1 parent 51ac9ca commit e231343
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/config-manager.cpp
Expand Up @@ -627,7 +627,7 @@ void ConfigManager::removeGameDomain(const String &domName) {
assert(!domName.empty());
assert(isValidDomainName(domName));
if (domName == _activeDomainName) {
_activeDomainName = "";
_activeDomainName.clear();
_activeDomain = 0;
}
_gameDomains.erase(domName);
Expand Down

0 comments on commit e231343

Please sign in to comment.