blob: f3aca7a427dcfa71e01f4351a0fcd6c0f537e6bd (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
// Copyright Yahoo. 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
|