summaryrefslogtreecommitdiff
path: root/src/being/playerrelations.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/being/playerrelations.cpp')
-rw-r--r--src/being/playerrelations.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/being/playerrelations.cpp b/src/being/playerrelations.cpp
index c972f25ca..4a2d71ee2 100644
--- a/src/being/playerrelations.cpp
+++ b/src/being/playerrelations.cpp
@@ -361,7 +361,7 @@ void PlayerRelationsManager::setRelation(const std::string &player_name,
StringVect *PlayerRelationsManager::getPlayers() const
{
- StringVect *const retval = new StringVect();
+ StringVect *const retval = new StringVect;
FOR_EACH (PlayerRelationsCIter, it, mRelations)
{
@@ -377,7 +377,7 @@ StringVect *PlayerRelationsManager::getPlayers() const
StringVect *PlayerRelationsManager::getPlayersByRelation(
const RelationT rel) const
{
- StringVect *const retval = new StringVect();
+ StringVect *const retval = new StringVect;
FOR_EACH (PlayerRelationsCIter, it, mRelations)
{