From 34a83475636164cf43551d9ec83ec30da5a7e7f2 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 8 Jun 2017 01:22:43 +0300 Subject: Replace size() to empty() where is possible --- src/gui/widgets/tabs/socialtabbase.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gui/widgets/tabs/socialtabbase.h') diff --git a/src/gui/widgets/tabs/socialtabbase.h b/src/gui/widgets/tabs/socialtabbase.h index 66f51367f..9cffcae89 100644 --- a/src/gui/widgets/tabs/socialtabbase.h +++ b/src/gui/widgets/tabs/socialtabbase.h @@ -45,7 +45,7 @@ ENUMS_RESOURCES_MAP_MAPITEMTYPE_H {\ std::string name;\ int level = -1;\ - if (*i == "")\ + if ((*i).empty())\ {\ name = _("(default)");\ level = 0;\ -- cgit v1.2.3-70-g09d2