Skip to content
Snippets Groups Projects

Resolve "Unit tests unter Windows"

Merged Joscha Schmiedt requested to merge f-77-unit-tests-unter-windows into dev
Files
3
@@ -170,6 +170,9 @@ class ConnectionManager {
private:
mutable std::map<std::string, std::shared_ptr<Connection>> connections;
mutable std::string default_connection_name;
static ConnectionManager mInstance;
inline ConnectionManager(){};
auto mHasConnection(const std::string &name) const -> bool;
@@ -184,10 +187,7 @@ private:
}
public:
static ConnectionManager &GetInstance() {
static ConnectionManager instance;
return instance;
};
static ConnectionManager &GetInstance();
inline static auto HasConnection(const std::string &name) -> bool {
return ConnectionManager::GetInstance().mHasConnection(name);
Loading