summaryrefslogtreecommitdiff
path: root/src/resources
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-09-10 15:48:22 +0300
committerAndrei Karas <akaras@inbox.ru>2011-09-10 15:48:22 +0300
commit13670eefeb4b256c20b603a845eb89f5221a32e5 (patch)
tree7a49048dd2693284789a23dd2a97aaa593b0ae5c /src/resources
parent99c02724d193dbd6219c4ce036c43795d6562047 (diff)
downloadManaVerse-13670eefeb4b256c20b603a845eb89f5221a32e5.tar.gz
ManaVerse-13670eefeb4b256c20b603a845eb89f5221a32e5.tar.bz2
ManaVerse-13670eefeb4b256c20b603a845eb89f5221a32e5.tar.xz
ManaVerse-13670eefeb4b256c20b603a845eb89f5221a32e5.zip
Change empty strings initializations.
Diffstat (limited to 'src/resources')
-rw-r--r--src/resources/iteminfo.cpp2
-rw-r--r--src/resources/spritedef.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/resources/iteminfo.cpp b/src/resources/iteminfo.cpp
index 75e6e1d8c..a5b81081c 100644
--- a/src/resources/iteminfo.cpp
+++ b/src/resources/iteminfo.cpp
@@ -108,7 +108,7 @@ const std::string &ItemInfo::getSprite(Gender gender) const
}
else
{
- static const std::string empty = "";
+ static const std::string empty("");
std::map<int, std::string>::const_iterator i =
mAnimationFiles.find(gender);
diff --git a/src/resources/spritedef.h b/src/resources/spritedef.h
index ccad62b1b..b2939fca1 100644
--- a/src/resources/spritedef.h
+++ b/src/resources/spritedef.h
@@ -86,7 +86,7 @@ namespace SpriteAction
static const std::string CAST_MAGIC = "magic";
static const std::string USE_ITEM = "item";
static const std::string SPAWN = "spawn";
- static const std::string INVALID = "";
+ static const std::string INVALID("");
}
enum SpriteDirection