diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2023-03-01 16:04:10 +0000 |
---|---|---|
committer | Henning Baldersheim <balder@yahoo-inc.com> | 2023-03-01 16:04:10 +0000 |
commit | 9298ba38f3f62ec7f6a27403fa663f31f366a604 (patch) | |
tree | 5c7457a24ed430d1b31938d57f6c35992a3f8d76 /searchcore | |
parent | f66e4be5877a7e5556511ccfe9ecc5ecab4d5366 (diff) |
Reduce transitive includes.
Diffstat (limited to 'searchcore')
10 files changed, 11 insertions, 3 deletions
diff --git a/searchcore/src/tests/proton/attribute/attributeflush_test.cpp b/searchcore/src/tests/proton/attribute/attributeflush_test.cpp index b94df75c7be..a10fec131e0 100644 --- a/searchcore/src/tests/proton/attribute/attributeflush_test.cpp +++ b/searchcore/src/tests/proton/attribute/attributeflush_test.cpp @@ -23,6 +23,7 @@ #include <vespa/vespalib/util/threadstackexecutor.h> #include <filesystem> #include <thread> +#include <cinttypes> #include <vespa/log/log.h> LOG_SETUP("attributeflush_test"); diff --git a/searchcore/src/vespa/searchcore/proton/attribute/attribute_initializer.cpp b/searchcore/src/vespa/searchcore/proton/attribute/attribute_initializer.cpp index 16be2c1bd25..d39d2873edb 100644 --- a/searchcore/src/vespa/searchcore/proton/attribute/attribute_initializer.cpp +++ b/searchcore/src/vespa/searchcore/proton/attribute/attribute_initializer.cpp @@ -14,6 +14,7 @@ #include <vespa/searchlib/attribute/attribute_header.h> #include <vespa/searchlib/attribute/attributevector.h> #include <vespa/fastos/file.h> +#include <cinttypes> #include <vespa/log/log.h> LOG_SETUP(".proton.attribute.attribute_initializer"); diff --git a/searchcore/src/vespa/searchcore/proton/index/index_writer.cpp b/searchcore/src/vespa/searchcore/proton/index/index_writer.cpp index 3512d2eebad..2c26b043fad 100644 --- a/searchcore/src/vespa/searchcore/proton/index/index_writer.cpp +++ b/searchcore/src/vespa/searchcore/proton/index/index_writer.cpp @@ -2,6 +2,7 @@ #include "index_writer.h" #include <vespa/document/fieldvalue/document.h> +#include <cinttypes> #include <vespa/log/log.h> LOG_SETUP(".proton.server.indexadapter"); diff --git a/searchcore/src/vespa/searchcore/proton/server/fileconfigmanager.cpp b/searchcore/src/vespa/searchcore/proton/server/fileconfigmanager.cpp index 7ee6a02d03e..e4a4e6761aa 100644 --- a/searchcore/src/vespa/searchcore/proton/server/fileconfigmanager.cpp +++ b/searchcore/src/vespa/searchcore/proton/server/fileconfigmanager.cpp @@ -21,6 +21,7 @@ #include <filesystem> #include <sstream> #include <cassert> +#include <cinttypes> #include <fcntl.h> #include <vespa/log/log.h> diff --git a/searchcore/src/vespa/searchcore/proton/server/memory_flush_config_updater.cpp b/searchcore/src/vespa/searchcore/proton/server/memory_flush_config_updater.cpp index 50a499c8a73..3222cbc3a06 100644 --- a/searchcore/src/vespa/searchcore/proton/server/memory_flush_config_updater.cpp +++ b/searchcore/src/vespa/searchcore/proton/server/memory_flush_config_updater.cpp @@ -2,6 +2,7 @@ #include "memory_flush_config_updater.h" #include <vespa/vespalib/util/size_literals.h> +#include <cinttypes> #include <vespa/log/log.h> LOG_SETUP(".proton.server.memory_flush_config_updater"); diff --git a/searchcore/src/vespa/searchcore/proton/server/memoryflush.cpp b/searchcore/src/vespa/searchcore/proton/server/memoryflush.cpp index f8d7519fd0c..fbc6e2beaf5 100644 --- a/searchcore/src/vespa/searchcore/proton/server/memoryflush.cpp +++ b/searchcore/src/vespa/searchcore/proton/server/memoryflush.cpp @@ -7,6 +7,7 @@ #include <vespa/vespalib/stllike/hash_set.h> #include <vespa/vespalib/util/size_literals.h> #include <vespa/vespalib/util/time.h> +#include <cinttypes> #include <vespa/log/log.h> LOG_SETUP(".proton.server.memoryflush"); diff --git a/searchcore/src/vespa/searchcore/proton/server/simpleflush.cpp b/searchcore/src/vespa/searchcore/proton/server/simpleflush.cpp index a1234ccc8fc..4de426b56d1 100644 --- a/searchcore/src/vespa/searchcore/proton/server/simpleflush.cpp +++ b/searchcore/src/vespa/searchcore/proton/server/simpleflush.cpp @@ -2,15 +2,14 @@ #include "simpleflush.h" #include <algorithm> +#include <cinttypes> #include <vespa/log/log.h> LOG_SETUP(".proton.server.simpleflush"); namespace proton { -SimpleFlush::SimpleFlush() -{ -} +SimpleFlush::SimpleFlush() = default; FlushContext::List SimpleFlush::getFlushTargets(const FlushContext::List& targetList, diff --git a/searchcore/src/vespa/searchcore/proton/server/summaryadapter.cpp b/searchcore/src/vespa/searchcore/proton/server/summaryadapter.cpp index 038af801b80..b4565003e9e 100644 --- a/searchcore/src/vespa/searchcore/proton/server/summaryadapter.cpp +++ b/searchcore/src/vespa/searchcore/proton/server/summaryadapter.cpp @@ -4,6 +4,7 @@ #include <vespa/searchcore/proton/docsummary/summarymanager.h> #include <vespa/vespalib/objects/nbostream.h> #include <cassert> +#include <cinttypes> #include <vespa/log/log.h> LOG_SETUP(".proton.server.summaryadapter"); diff --git a/searchcore/src/vespa/searchcorespi/index/indexflushtarget.cpp b/searchcore/src/vespa/searchcorespi/index/indexflushtarget.cpp index e72525d0aaa..53fb21bf1ed 100644 --- a/searchcore/src/vespa/searchcorespi/index/indexflushtarget.cpp +++ b/searchcore/src/vespa/searchcorespi/index/indexflushtarget.cpp @@ -2,6 +2,7 @@ #include "indexflushtarget.h" #include <vespa/vespalib/util/size_literals.h> +#include <cinttypes> #include <vespa/log/log.h> LOG_SETUP(".searchcorespi.index.indexflushtarget"); diff --git a/searchcore/src/vespa/searchcorespi/index/indexfusiontarget.cpp b/searchcore/src/vespa/searchcorespi/index/indexfusiontarget.cpp index 1df6d321f99..6755976939b 100644 --- a/searchcore/src/vespa/searchcorespi/index/indexfusiontarget.cpp +++ b/searchcore/src/vespa/searchcorespi/index/indexfusiontarget.cpp @@ -1,6 +1,7 @@ // Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. #include "indexfusiontarget.h" +#include <cinttypes> #include <vespa/log/log.h> LOG_SETUP(".searchcorespi.index.indexfusiontarget"); |