aboutsummaryrefslogtreecommitdiffstats
path: root/config/src/vespa/config/raw/rawsourcefactory.cpp
blob: 396ee8b7c271db5ff24b28787325f07393cfad73 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.

#include <vespa/config/common/source.h>
#include "rawsourcefactory.h"
#include "rawsource.h"

namespace config {

std::unique_ptr<Source>
RawSourceFactory::createSource(std::shared_ptr<IConfigHolder> holder, const ConfigKey & key) const
{
    (void) key;
    return std::make_unique<RawSource>(std::move(holder), _payload);
}

}