aboutsummaryrefslogtreecommitdiffstats
path: root/searchcore
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2017-05-22 18:58:06 +0200
committerHenning Baldersheim <balder@yahoo-inc.com>2017-05-22 18:58:06 +0200
commit81cf82cde13262e16c544a86edc03fc0ce2810b5 (patch)
treee1feea3b9bd8eb02842c8b6f8e054b30636aa95f /searchcore
parented2038cef23e002176cd713ba477e4587d87c3e0 (diff)
Optimize includes
Diffstat (limited to 'searchcore')
-rw-r--r--searchcore/src/vespa/searchcore/proton/server/documentdb.h17
1 files changed, 4 insertions, 13 deletions
diff --git a/searchcore/src/vespa/searchcore/proton/server/documentdb.h b/searchcore/src/vespa/searchcore/proton/server/documentdb.h
index 61c683ccf08..b210591e9e0 100644
--- a/searchcore/src/vespa/searchcore/proton/server/documentdb.h
+++ b/searchcore/src/vespa/searchcore/proton/server/documentdb.h
@@ -1,7 +1,6 @@
// Copyright 2016 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#pragma once
-
#include "buckethandler.h"
#include "clusterstatehandler.h"
#include "configstore.h"
@@ -18,6 +17,7 @@
#include "executorthreadingservice.h"
#include "visibilityhandler.h"
#include "i_document_subdb_owner.h"
+#include "disk_mem_usage_forwarder.h"
#include <vespa/searchcore/proton/common/doctypename.h>
#include <vespa/searchcore/proton/common/monitored_refcount.h>
@@ -30,24 +30,15 @@
#include <vespa/searchlib/transactionlog/syncproxy.h>
#include <vespa/vespalib/util/varholder.h>
#include <vespa/searchcore/proton/attribute/attribute_usage_filter.h>
-#include "disk_mem_usage_forwarder.h"
#include <vespa/metrics/updatehook.h>
#include <mutex>
#include <condition_variable>
-namespace search
-{
-
-namespace common
-{
-
-class FileHeaderContext;
-
+namespace search {
+ namespace common { class FileHeaderContext; }
+ namespace transactionlog { class TransLogClient; }
}
-namespace transactionlog { class TransLogClient; }
-} // namespace search
-
namespace proton {
class IDocumentDBOwner;
class MetricsWireService;