Skip to content
Snippets Groups Projects
Commit 8cfbdae9 authored by Joscha Schmiedt's avatar Joscha Schmiedt
Browse files

Fix superflous `inline` causing linker errors

parent 05957f9d
Branches
Tags
2 merge requests!61Release 0.3.0,!56Resolve "Unit tests unter Windows"
Pipeline #55185 passed with warnings
Pipeline: caosdb-cppinttest

#55186

    ......@@ -171,7 +171,7 @@ private:
    mutable std::map<std::string, std::shared_ptr<Connection>> connections;
    mutable std::string default_connection_name;
    static ConnectionManager instance;
    static ConnectionManager mInstance;
    inline ConnectionManager(){};
    ......
    ......@@ -427,7 +427,7 @@ auto ConfigurationManager::mGetDefaultConnectionName() const -> std::string {
    throw ConfigurationError("Could not determine the default connection.");
    }
    inline ConfigurationManager &ConfigurationManager::GetInstance() { return mInstance; }
    ConfigurationManager &ConfigurationManager::GetInstance() { return mInstance; }
    // TODO(tf) This has apparently a cognitive complexity of 34>25 (threshold).
    auto ConfigurationManager::InitializeDefaults() -> int { // NOLINT
    ......
    ......@@ -67,10 +67,10 @@ using linkahead::transaction::Transaction;
    using linkahead::transaction::TransactionStatus;
    ConnectionManager ConnectionManager::instance;
    ConnectionManager ConnectionManager::mInstance;
    ConnectionManager &ConnectionManager::GetInstance() {
    return instance;
    return mInstance;
    }
    Connection::Connection(const ConnectionConfiguration &configuration) {
    ......
    0% Loading or .
    You are about to add 0 people to the discussion. Proceed with caution.
    Please register or to comment