diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-09-10 15:48:22 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-09-10 15:48:22 +0300 |
commit | 13670eefeb4b256c20b603a845eb89f5221a32e5 (patch) | |
tree | 7a49048dd2693284789a23dd2a97aaa593b0ae5c /src/map.cpp | |
parent | 99c02724d193dbd6219c4ce036c43795d6562047 (diff) | |
download | mv-13670eefeb4b256c20b603a845eb89f5221a32e5.tar.gz mv-13670eefeb4b256c20b603a845eb89f5221a32e5.tar.bz2 mv-13670eefeb4b256c20b603a845eb89f5221a32e5.tar.xz mv-13670eefeb4b256c20b603a845eb89f5221a32e5.zip |
Change empty strings initializations.
Diffstat (limited to 'src/map.cpp')
-rw-r--r-- | src/map.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map.cpp b/src/map.cpp index 86d1171f0..3e83f2e6c 100644 --- a/src/map.cpp +++ b/src/map.cpp @@ -2217,7 +2217,7 @@ MapItem::~MapItem() void MapItem::setType(int type) { - std::string name = ""; + std::string name(""); mType = type; if (mImage) mImage->decRef(); |