summaryrefslogtreecommitdiff
path: root/src/player_relations.cpp
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2008-06-22 20:50:43 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2008-06-22 20:50:43 +0000
commit6e9aa693c6f07c99e5b84ee35570a14efe4df393 (patch)
tree6b43efc68dc79242a2b1beb3aa7fdd40908c45e0 /src/player_relations.cpp
parent6d0785dc58aeba42f8cc5a1cb339749753f474c6 (diff)
downloadmana-6e9aa693c6f07c99e5b84ee35570a14efe4df393.tar.gz
mana-6e9aa693c6f07c99e5b84ee35570a14efe4df393.tar.bz2
mana-6e9aa693c6f07c99e5b84ee35570a14efe4df393.tar.xz
mana-6e9aa693c6f07c99e5b84ee35570a14efe4df393.zip
Fixed warning about missing virtual destructor.
Diffstat (limited to 'src/player_relations.cpp')
-rw-r--r--src/player_relations.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/player_relations.cpp b/src/player_relations.cpp
index f7e04712..610f5d04 100644
--- a/src/player_relations.cpp
+++ b/src/player_relations.cpp
@@ -83,7 +83,7 @@ PlayerRelation::PlayerRelation(relation relation)
mRelation = relation;
}
-PlayerRelationsManager::PlayerRelationsManager(void) :
+PlayerRelationsManager::PlayerRelationsManager() :
mPersistIgnores(false),
mDefaultPermissions(PlayerRelation::DEFAULT),
mIgnoreStrategy(NULL)
@@ -91,7 +91,7 @@ PlayerRelationsManager::PlayerRelationsManager(void) :
}
void
-PlayerRelationsManager::clear(void)
+PlayerRelationsManager::clear()
{
std::vector<std::string> *names = getPlayers();
for (std::vector<std::string>::const_iterator
@@ -116,7 +116,7 @@ PlayerRelationsManager::getPlayerIgnoreStrategyIndex(const std::string &name)
}
void
-PlayerRelationsManager::load(void)
+PlayerRelationsManager::load()
{
clear();
@@ -134,7 +134,7 @@ PlayerRelationsManager::load(void)
void
-PlayerRelationsManager::init(void)
+PlayerRelationsManager::init()
{
load();
@@ -143,7 +143,7 @@ PlayerRelationsManager::init(void)
}
void
-PlayerRelationsManager::store(void)
+PlayerRelationsManager::store()
{
config.setList<std::map<std::string, PlayerRelation *>::const_iterator,
std::pair<std::string, PlayerRelation *>,
@@ -236,7 +236,7 @@ PlayerRelationsManager::setRelation(const std::string &player_name, PlayerRelati
}
std::vector<std::string> *
-PlayerRelationsManager::getPlayers(void)
+PlayerRelationsManager::getPlayers()
{
std::vector<std::string> *retval = new std::vector<std::string>();
@@ -274,7 +274,7 @@ PlayerRelationsManager::getRelation(const std::string &name)
// defaults
unsigned int
-PlayerRelationsManager::getDefault(void) const
+PlayerRelationsManager::getDefault() const
{
return mDefaultPermissions;
}
@@ -388,7 +388,7 @@ private:
static std::vector<PlayerIgnoreStrategy *> player_ignore_strategies;
std::vector<PlayerIgnoreStrategy *> *
-PlayerRelationsManager::getPlayerIgnoreStrategies(void)
+PlayerRelationsManager::getPlayerIgnoreStrategies()
{
if (player_ignore_strategies.size() == 0) {
// not initialised yet?