aboutsummaryrefslogtreecommitdiffstats
path: root/streamingvisitors/src/vespa/vsm/vsm/vsm-adapter.hpp
blob: f071dbb20153352258d05defab34452dfae19af0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.

#pragma once

#include "vsm-adapter.h"
#include <vespa/config/retriever/configsnapshot.hpp>

namespace vsm {

template <typename ConfigType>
std::unique_ptr<ConfigType>
VSMConfigSnapshot::getConfig() const
{
    return _snapshot->getConfig<ConfigType>(_configId);
}

} // namespace vsm