blob: 1a6f479d6176b2b79e4ac2d020ea3c3a9a735858 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#include "noopoperation.h"
#include <vespa/vespalib/util/stringfmt.h>
using vespalib::make_string;
namespace proton {
NoopOperation::NoopOperation(SerialNum serialNum)
: FeedOperation(FeedOperation::NOOP)
{
setSerialNum(serialNum);
}
vespalib::string NoopOperation::toString() const {
return make_string("Noop(serialNum=%" PRIu64 ")", getSerialNum());
}
} // namespace proton
|