diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-07-13 03:48:56 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-07-13 03:48:56 +0300 |
commit | b5cb8b8ed49f80ebbb82cacb55c16a03318db30b (patch) | |
tree | 0a2d308fdf870a8b0564b585087abaea867457ec /src/resources/db/groupdb.h | |
parent | 0d9761f9a6b375f6018a16b21cf2fbbb01155c08 (diff) | |
download | plus-b5cb8b8ed49f80ebbb82cacb55c16a03318db30b.tar.gz plus-b5cb8b8ed49f80ebbb82cacb55c16a03318db30b.tar.bz2 plus-b5cb8b8ed49f80ebbb82cacb55c16a03318db30b.tar.xz plus-b5cb8b8ed49f80ebbb82cacb55c16a03318db30b.zip |
Fix unit tests after latest changes.
Diffstat (limited to 'src/resources/db/groupdb.h')
-rw-r--r-- | src/resources/db/groupdb.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/resources/db/groupdb.h b/src/resources/db/groupdb.h index 60667b3d8..f2c027120 100644 --- a/src/resources/db/groupdb.h +++ b/src/resources/db/groupdb.h @@ -42,6 +42,10 @@ namespace GroupDb const std::string &getLongName(const int id); typedef std::map<int, GroupInfo> GroupInfos; + +#ifdef UNITTESTS + GroupDb::GroupInfos &getGroups(); +#endif // UNITTESTS } // namespace GroupDb #endif // RESOURCES_DB_GROUPDB_H |