summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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
{