From 8478d540748edccf36dc9bda5f0c3de0aa7bf763 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 25 Feb 2013 03:35:52 +0300 Subject: Improve string usage in other files. --- src/actorspritemanager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/actorspritemanager.cpp') diff --git a/src/actorspritemanager.cpp b/src/actorspritemanager.cpp index 899f51088..ce54316fd 100644 --- a/src/actorspritemanager.cpp +++ b/src/actorspritemanager.cpp @@ -1402,7 +1402,7 @@ void ActorSpriteManager::updatePlayerGuild() const void ActorSpriteManager::parseLevels(std::string levels) const { - levels += ", "; + levels.append(", "); size_t f = 0; const std::string brkEnd = "), "; size_t pos = levels.find(brkEnd, f); -- cgit v1.2.3-70-g09d2