diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-07-18 01:10:03 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-07-18 01:10:03 +0300 |
commit | 615ce0dd3026d27b0ce88731529a0e58001288c4 (patch) | |
tree | 16ef2ce0dc5f580f44bdd301070960644498c885 /src/resources/db/groupdb.h | |
parent | ddd49c13d9b89e11c900657154e0504c8c8af2a9 (diff) | |
download | plus-615ce0dd3026d27b0ce88731529a0e58001288c4.tar.gz plus-615ce0dd3026d27b0ce88731529a0e58001288c4.tar.bz2 plus-615ce0dd3026d27b0ce88731529a0e58001288c4.tar.xz plus-615ce0dd3026d27b0ce88731529a0e58001288c4.zip |
In groupdb store pointers to groups.
Diffstat (limited to 'src/resources/db/groupdb.h')
-rw-r--r-- | src/resources/db/groupdb.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/resources/db/groupdb.h b/src/resources/db/groupdb.h index 3db3b1921..0115880bc 100644 --- a/src/resources/db/groupdb.h +++ b/src/resources/db/groupdb.h @@ -43,7 +43,8 @@ namespace GroupDb bool getShowBadge(const int id) A_WARN_UNUSED; const std::string &getBadge(const int id) A_WARN_UNUSED; - typedef std::map<int, GroupInfo> GroupInfos; + typedef std::map<int, GroupInfo*> GroupInfos; + typedef GroupInfos::iterator GroupInfosIter; #ifdef UNITTESTS GroupDb::GroupInfos &getGroups(); |