summaryrefslogtreecommitdiffstats
path: root/documentapi
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2016-12-02 15:40:36 +0100
committerHenning Baldersheim <balder@yahoo-inc.com>2016-12-12 02:55:44 +0100
commitf2fd8d33d46edb8b3c4351d14f4abbc386ffbabf (patch)
tree087f1b61806834edd4349fb52ba69c5b1dd34756 /documentapi
parentf97313b7611fc90f87c656c61c97ff2baa0b22a7 (diff)
Include asciistream in implementation only.
Diffstat (limited to 'documentapi')
-rw-r--r--documentapi/src/vespa/documentapi/messagebus/messages/multioperationmessage.cpp5
-rw-r--r--documentapi/src/vespa/documentapi/messagebus/policies/storagepolicy.cpp7
2 files changed, 7 insertions, 5 deletions
diff --git a/documentapi/src/vespa/documentapi/messagebus/messages/multioperationmessage.cpp b/documentapi/src/vespa/documentapi/messagebus/messages/multioperationmessage.cpp
index 58cda975336..bece134f33b 100644
--- a/documentapi/src/vespa/documentapi/messagebus/messages/multioperationmessage.cpp
+++ b/documentapi/src/vespa/documentapi/messagebus/messages/multioperationmessage.cpp
@@ -1,7 +1,8 @@
// Copyright 2016 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
-#include <vespa/fastos/fastos.h>
-#include <vespa/documentapi/messagebus/messages/multioperationmessage.h>
+
+#include "multioperationmessage.h"
#include <vespa/vdslib/container/mutabledocumentlist.h>
+#include <vespa/vespalib/util/exceptions.h>
namespace documentapi {
diff --git a/documentapi/src/vespa/documentapi/messagebus/policies/storagepolicy.cpp b/documentapi/src/vespa/documentapi/messagebus/policies/storagepolicy.cpp
index 284ec714e82..3caa19f240a 100644
--- a/documentapi/src/vespa/documentapi/messagebus/policies/storagepolicy.cpp
+++ b/documentapi/src/vespa/documentapi/messagebus/policies/storagepolicy.cpp
@@ -1,7 +1,6 @@
// Copyright 2016 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
-#include <vespa/fastos/fastos.h>
-#include <vespa/documentapi/messagebus/policies/storagepolicy.h>
-#include <vespa/log/log.h>
+
+#include "storagepolicy.h"
#include <algorithm>
#include <vespa/document/base/documentid.h>
#include <vespa/messagebus/emptyreply.h>
@@ -12,6 +11,8 @@
#include <vespa/vespalib/util/random.h>
#include <vespa/documentapi/documentapi.h>
#include <vespa/documentapi/messagebus/documentprotocol.h>
+#include <vespa/vespalib/stllike/asciistream.h>
+#include <vespa/log/log.h>
LOG_SETUP(".storagepolicy");