From e2313433bcf240e81825226f9ef8165d338e13ba Mon Sep 17 00:00:00 2001 From: Johannes Schickel Date: Tue, 12 Aug 2014 01:43:30 +0200 Subject: COMMON: Use Common::String::clear instead of assigning "". --- common/config-manager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'common') diff --git a/common/config-manager.cpp b/common/config-manager.cpp index 04b62371b2..24c877a4e9 100644 --- a/common/config-manager.cpp +++ b/common/config-manager.cpp @@ -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); -- cgit v1.2.3