mirror of
https://github.com/FunKey-Project/RetroFE.git
synced 2026-04-02 18:25:30 +02:00
Make config and DB pass by reference for database classes.
This commit is contained in:
@@ -13,7 +13,7 @@ class CollectionInfo;
|
||||
class CollectionInfoBuilder
|
||||
{
|
||||
public:
|
||||
CollectionInfoBuilder(Configuration *c);
|
||||
CollectionInfoBuilder(Configuration &c);
|
||||
virtual ~CollectionInfoBuilder();
|
||||
bool LoadAllCollections();
|
||||
void GetCollections(std::vector<CollectionInfo *> &keys);
|
||||
@@ -21,5 +21,5 @@ public:
|
||||
private:
|
||||
bool ImportCollection(std::string name);
|
||||
std::map<std::string, CollectionInfo *> InfoMap;
|
||||
Configuration *Conf;
|
||||
Configuration &Conf;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user