summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2010-02-25 11:28:20 -0700
committerJared Adams <jaxad0127@gmail.com>2010-02-25 11:44:43 -0700
commitd4bb7d50f6923fb89dcf050f70d94f69143749c1 (patch)
treeb850f10085114a4aa4802d8c45f984e056025541 /src
parent57b7ac94b5b0fe2aca7f97d864e082cf67973614 (diff)
downloadmana-d4bb7d50f6923fb89dcf050f70d94f69143749c1.tar.gz
mana-d4bb7d50f6923fb89dcf050f70d94f69143749c1.tar.bz2
mana-d4bb7d50f6923fb89dcf050f70d94f69143749c1.tar.xz
mana-d4bb7d50f6923fb89dcf050f70d94f69143749c1.zip
Change const void to void
Reviewed-by: Thorbjørn Lindeijer
Diffstat (limited to 'src')
-rw-r--r--src/guild.cpp2
-rw-r--r--src/guild.h2
-rw-r--r--src/party.cpp2
-rw-r--r--src/party.h2
4 files changed, 4 insertions, 4 deletions
diff --git a/src/guild.cpp b/src/guild.cpp
index 30c004bc..65515cd7 100644
--- a/src/guild.cpp
+++ b/src/guild.cpp
@@ -241,7 +241,7 @@ bool Guild::isMember(const std::string &name) const
return false;
}
-const void Guild::getNames(std::vector<std::string> &names) const
+void Guild::getNames(std::vector<std::string> &names) const
{
names.clear();
MemberList::const_iterator it = mMembers.begin(),
diff --git a/src/guild.h b/src/guild.h
index a571597f..9b0eff9c 100644
--- a/src/guild.h
+++ b/src/guild.h
@@ -159,7 +159,7 @@ public:
bool isMember(const std::string &name) const;
- const void getNames(std::vector<std::string> &names) const;
+ void getNames(std::vector<std::string> &names) const;
static Guild *getGuild(int id);
diff --git a/src/party.cpp b/src/party.cpp
index 3987f0fb..e01aab50 100644
--- a/src/party.cpp
+++ b/src/party.cpp
@@ -247,7 +247,7 @@ bool Party::isMember(const std::string &name) const
return false;
}
-const void Party::getNames(std::vector<std::string> &names) const
+void Party::getNames(std::vector<std::string> &names) const
{
names.clear();
MemberList::const_iterator it = mMembers.begin(),
diff --git a/src/party.h b/src/party.h
index e723cf37..d50ed7b0 100644
--- a/src/party.h
+++ b/src/party.h
@@ -163,7 +163,7 @@ public:
bool isMember(const std::string &name) const;
- const void getNames(std::vector<std::string> &names) const;
+ void getNames(std::vector<std::string> &names) const;
static Party *getParty(int id);