summaryrefslogtreecommitdiff
path: root/src/resources
diff options
context:
space:
mode:
authorThorbjørn Lindeijer <thorbjorn@lindeijer.nl>2011-03-04 22:05:52 +0100
committerThorbjørn Lindeijer <thorbjorn@lindeijer.nl>2011-03-04 22:05:52 +0100
commitd8d6adf10fb059642b5415b7f80423dced4eaa56 (patch)
treefdd7cf410462cc53823148aa36bf486ff0d50b91 /src/resources
parentf22e48849c090125d6a0e8186ee05e28bad7276f (diff)
downloadmana-d8d6adf10fb059642b5415b7f80423dced4eaa56.tar.gz
mana-d8d6adf10fb059642b5415b7f80423dced4eaa56.tar.bz2
mana-d8d6adf10fb059642b5415b7f80423dced4eaa56.tar.xz
mana-d8d6adf10fb059642b5415b7f80423dced4eaa56.zip
Empty std::string don't need to be constructed from ""
Diffstat (limited to 'src/resources')
-rw-r--r--src/resources/itemdb.cpp6
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);
}
}