blob: af05d3a4eece9e40fb2ca30eb42fdb7cc7876848 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#include "distributornodecontext.h"
#include <vespa/storageframework/generic/clock/clock.h>
namespace storage {
DistributorNodeContext::DistributorNodeContext(std::unique_ptr<framework::Clock> clock)
: StorageNodeContext(std::make_unique<DistributorComponentRegisterImpl>(), std::move(clock)),
_componentRegister(dynamic_cast<ComponentRegister&>(StorageNodeContext::getComponentRegister()))
{
}
} // storage
|