From 16074a7c2c8197a061281a6880ddbc3967d8ea0c Mon Sep 17 00:00:00 2001 From: Thorbjørn Lindeijer Date: Wed, 9 Jan 2013 13:23:43 +0100 Subject: Replaced 'unsigned int' with 'unsigned' Same thing, but shorter. --- src/game-server/specialmanager.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/game-server/specialmanager.cpp') diff --git a/src/game-server/specialmanager.cpp b/src/game-server/specialmanager.cpp index 32669bca..39616faa 100644 --- a/src/game-server/specialmanager.cpp +++ b/src/game-server/specialmanager.cpp @@ -143,14 +143,14 @@ void SpecialManager::clear() mNamedSpecialsInfo.clear(); } -unsigned int SpecialManager::getId(const std::string &set, - const std::string &name) const +unsigned SpecialManager::getId(const std::string &set, + const std::string &name) const { std::string key = utils::toLower(set) + "_" + utils::toLower(name); return getId(key); } -unsigned int SpecialManager::getId(const std::string &specialName) const +unsigned SpecialManager::getId(const std::string &specialName) const { if (mNamedSpecialsInfo.contains(specialName)) return mNamedSpecialsInfo.value(specialName)->id; -- cgit v1.2.3-60-g2f50