blob: 4ca71afd2c56d2ce940b2276986ef54ea79f9d5e (
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 "fake_doom.h"
namespace vespalib {
FakeDoom::FakeDoom(steady_time::duration time_to_doom)
: _time(steady_clock::now()),
_clock(_time),
_doom(_clock, _clock.getTimeNS() + time_to_doom)
{
}
FakeDoom::~FakeDoom() = default;
}
|