void Add()

in src/outmdsd/ConcurrentMap.h [61:69]


    void Add(const std::string & key, ValueType value)
    {
        if (key.empty()) {
            throw std::invalid_argument("Invalid empty string for map key.");
        }

        std::lock_guard<std::mutex> lk(m_cacheMutex);
        m_cache[key] = std::move(value);
    }