aboutsummaryrefslogtreecommitdiffstats
path: root/storage
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2021-05-21 09:47:01 +0000
committerHenning Baldersheim <balder@yahoo-inc.com>2021-05-21 09:47:01 +0000
commit26580748226a06f32097fad6320e325467c771c4 (patch)
tree86d6f1ef7fc94d3144a42294e6f39e133fa5f697 /storage
parent0ab97739be414a7d26951f5fbb9daba7cbccd5fa (diff)
GC unused code
Diffstat (limited to 'storage')
-rw-r--r--storage/src/vespa/storage/persistence/mergehandler.cpp26
1 files changed, 0 insertions, 26 deletions
diff --git a/storage/src/vespa/storage/persistence/mergehandler.cpp b/storage/src/vespa/storage/persistence/mergehandler.cpp
index 6d580ead659..004a6a798a9 100644
--- a/storage/src/vespa/storage/persistence/mergehandler.cpp
+++ b/storage/src/vespa/storage/persistence/mergehandler.cpp
@@ -1127,32 +1127,6 @@ MergeHandler::handleGetBucketDiff(api::GetBucketDiffCommand& cmd, MessageTracker
return tracker;
}
-namespace {
-
- struct DiffInfoTimestampOrder
- : public std::binary_function<api::GetBucketDiffCommand::Entry,
- api::GetBucketDiffCommand::Entry, bool>
- {
- bool operator()(const api::GetBucketDiffCommand::Entry& x,
- const api::GetBucketDiffCommand::Entry& y)
- {
- return (x._timestamp < y._timestamp);
- }
- };
-
- struct ApplyDiffInfoTimestampOrder
- : public std::binary_function<api::ApplyBucketDiffCommand::Entry,
- api::ApplyBucketDiffCommand::Entry, bool>
- {
- bool operator()(const api::ApplyBucketDiffCommand::Entry& x,
- const api::ApplyBucketDiffCommand::Entry& y)
- {
- return (x._entry._timestamp < y._entry._timestamp);
- }
- };
-
-} // End of anonymous namespace
-
void
MergeHandler::handleGetBucketDiffReply(api::GetBucketDiffReply& reply, MessageSender& sender) const
{