diff options
author | Thorbjørn Lindeijer <thorbjorn@lindeijer.nl> | 2011-03-04 22:05:52 +0100 |
---|---|---|
committer | Thorbjørn Lindeijer <thorbjorn@lindeijer.nl> | 2011-03-04 22:05:52 +0100 |
commit | d8d6adf10fb059642b5415b7f80423dced4eaa56 (patch) | |
tree | fdd7cf410462cc53823148aa36bf486ff0d50b91 /src/resources/itemdb.cpp | |
parent | f22e48849c090125d6a0e8186ee05e28bad7276f (diff) | |
download | mana-client-d8d6adf10fb059642b5415b7f80423dced4eaa56.tar.gz mana-client-d8d6adf10fb059642b5415b7f80423dced4eaa56.tar.bz2 mana-client-d8d6adf10fb059642b5415b7f80423dced4eaa56.tar.xz mana-client-d8d6adf10fb059642b5415b7f80423dced4eaa56.zip |
Empty std::string don't need to be constructed from ""
Diffstat (limited to 'src/resources/itemdb.cpp')
-rw-r--r-- | src/resources/itemdb.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/resources/itemdb.cpp b/src/resources/itemdb.cpp index 2271abef..96cf8aef 100644 --- a/src/resources/itemdb.cpp +++ b/src/resources/itemdb.cpp @@ -288,9 +288,9 @@ void ItemDB::checkItemInfo(ItemInfo* itemInfo) if (id >= 0) { - checkParameter(id, itemInfo->mName, std::string("")); - checkParameter(id, itemInfo->mDescription, std::string("")); - checkParameter(id, itemInfo->mDisplay.image, std::string("")); + checkParameter(id, itemInfo->mName, std::string()); + checkParameter(id, itemInfo->mDescription, std::string()); + checkParameter(id, itemInfo->mDisplay.image, std::string()); checkParameter(id, itemInfo->mWeight, 0); } } |