summaryrefslogtreecommitdiff
path: root/src/guildmanager.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-03-29 03:51:37 +0300
committerAndrei Karas <akaras@inbox.ru>2012-03-29 03:52:16 +0300
commit3bf4e26b1319295532bb4396cbd6406d85cbcae0 (patch)
tree80a4303b29aafa21683e90e45798283a482bf1d1 /src/guildmanager.cpp
parent7f607a0f58a9eba53237955c06bf445c71d57b6c (diff)
downloadmanaverse-3bf4e26b1319295532bb4396cbd6406d85cbcae0.tar.gz
manaverse-3bf4e26b1319295532bb4396cbd6406d85cbcae0.tar.bz2
manaverse-3bf4e26b1319295532bb4396cbd6406d85cbcae0.tar.xz
manaverse-3bf4e26b1319295532bb4396cbd6406d85cbcae0.zip
Replace vectors with strings to short names.
Diffstat (limited to 'src/guildmanager.cpp')
-rw-r--r--src/guildmanager.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/guildmanager.cpp b/src/guildmanager.cpp
index 08af3b2c7..9a4437934 100644
--- a/src/guildmanager.cpp
+++ b/src/guildmanager.cpp
@@ -117,7 +117,7 @@ void GuildManager::chat(std::string msg)
mTab->chatLog(player_node->getName(), msg);
}
-void GuildManager::getNames(std::vector<std::string> &names)
+void GuildManager::getNames(StringVect &names)
{
Guild *guild = createGuild();
if (guild)
@@ -153,8 +153,8 @@ void GuildManager::updateList()
if (guild)
{
guild->setServerGuild(false);
- std::vector<std::string>::const_iterator it = mTempList.begin();
- std::vector<std::string>::const_iterator it_end = mTempList.end();
+ StringVectCIter it = mTempList.begin();
+ StringVectCIter it_end = mTempList.end();
int i = 0;
while (it != it_end)
{