diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-06-08 01:22:43 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-06-08 01:22:43 +0300 |
commit | 34a83475636164cf43551d9ec83ec30da5a7e7f2 (patch) | |
tree | c6b3e22f789422e06a96c2ca87dd94fc61eb1dd1 /src/actormanager.cpp | |
parent | af4fcff19a986990d58c50c62bc498690c8293b8 (diff) | |
download | plus-34a83475636164cf43551d9ec83ec30da5a7e7f2.tar.gz plus-34a83475636164cf43551d9ec83ec30da5a7e7f2.tar.bz2 plus-34a83475636164cf43551d9ec83ec30da5a7e7f2.tar.xz plus-34a83475636164cf43551d9ec83ec30da5a7e7f2.zip |
Replace size() to empty() where is possible
Diffstat (limited to 'src/actormanager.cpp')
-rw-r--r-- | src/actormanager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/actormanager.cpp b/src/actormanager.cpp index 499652659..4bf4e2d53 100644 --- a/src/actormanager.cpp +++ b/src/actormanager.cpp @@ -1980,7 +1980,7 @@ int ActorManager::getPickupItemIndex(const std::string &name) const i_end = list.end();\ while (i != i_end)\ {\ - if (*i == "")\ + if ((*i).empty())\ empty = true;\ m##mob##s.push_back(*i);\ m##mob##sSet.insert(*i);\ |