From d8d6adf10fb059642b5415b7f80423dced4eaa56 Mon Sep 17 00:00:00 2001 From: Thorbjørn Lindeijer Date: Fri, 4 Mar 2011 22:05:52 +0100 Subject: Empty std::string don't need to be constructed from "" --- src/resources/itemdb.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src') 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); } } -- cgit v1.2.3-70-g09d2