// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. #include "confighandle.h" #include namespace config { template ConfigHandle::ConfigHandle(std::shared_ptr subscription) : _subscription(std::move(subscription)) { } template ConfigHandle::~ConfigHandle() = default; template std::unique_ptr ConfigHandle::getConfig() const { return _subscription->getConfig().template newInstance(); } template bool ConfigHandle::isChanged() const { return _subscription->isChanged(); } } // namespace config