// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. #include "configsubscriber.h" #include "confighandle.hpp" namespace config { template std::unique_ptr > ConfigSubscriber::subscribe(const std::string & configId, vespalib::duration timeout) { const ConfigKey key(ConfigKey::create(configId)); return std::make_unique >(_set.subscribe(key, timeout)); } }