diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-03-10 16:40:52 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-03-10 16:40:52 +0300 |
commit | 4df1e68047488ec00a264c076bb3222715f42295 (patch) | |
tree | 22ea99ebcd00a6c9d6da0729706b765a49085c5f /src/being/playerrelations.cpp | |
parent | bfc5d7483c0a81409ebf08603f634e88b8db03f8 (diff) | |
download | manaplus-4df1e68047488ec00a264c076bb3222715f42295.tar.gz manaplus-4df1e68047488ec00a264c076bb3222715f42295.tar.bz2 manaplus-4df1e68047488ec00a264c076bb3222715f42295.tar.xz manaplus-4df1e68047488ec00a264c076bb3222715f42295.zip |
Fix new style issue detected by mplint.
new class() -> new class
Diffstat (limited to 'src/being/playerrelations.cpp')
-rw-r--r-- | src/being/playerrelations.cpp | 4 |
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) { |