summaryrefslogtreecommitdiffstats
path: root/storageapi
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2017-08-18 23:09:43 +0200
committerHenning Baldersheim <balder@yahoo-inc.com>2017-08-18 23:09:43 +0200
commitbe621ff4d3124c54fe86577a672f73522fd3323c (patch)
treea3bd524db43613518dd7ba840c233b8232a7a680 /storageapi
parented2c63f77550376ffcd062b429d0b180adfc8135 (diff)
Include what you need.
Diffstat (limited to 'storageapi')
-rw-r--r--storageapi/src/vespa/storageapi/message/batch.cpp1
-rw-r--r--storageapi/src/vespa/storageapi/message/bucketsplitting.cpp8
2 files changed, 4 insertions, 5 deletions
diff --git a/storageapi/src/vespa/storageapi/message/batch.cpp b/storageapi/src/vespa/storageapi/message/batch.cpp
index cd757ac38e9..7de0ec098ac 100644
--- a/storageapi/src/vespa/storageapi/message/batch.cpp
+++ b/storageapi/src/vespa/storageapi/message/batch.cpp
@@ -3,6 +3,7 @@
#include "batch.h"
#include <vespa/document/bucket/bucketidfactory.h>
#include <ostream>
+#include <algorithm>
using namespace storage::api;
diff --git a/storageapi/src/vespa/storageapi/message/bucketsplitting.cpp b/storageapi/src/vespa/storageapi/message/bucketsplitting.cpp
index 5c82e737bb9..3cbc0a3ab03 100644
--- a/storageapi/src/vespa/storageapi/message/bucketsplitting.cpp
+++ b/storageapi/src/vespa/storageapi/message/bucketsplitting.cpp
@@ -2,9 +2,9 @@
#include "bucketsplitting.h"
#include <ostream>
+#include <limits>
-namespace storage {
-namespace api {
+namespace storage::api {
IMPLEMENT_COMMAND(SplitBucketCommand, SplitBucketReply)
IMPLEMENT_REPLY(SplitBucketReply)
@@ -131,6 +131,4 @@ JoinBucketsReply::print(std::ostream& out, bool verbose,
}
}
-} // api
-} // storage
-
+}