summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--searchcommon/src/vespa/searchcommon/attribute/search_context_params.cpp6
-rw-r--r--searchsummary/src/vespa/searchsummary/docsummary/linguisticsannotation.cpp4
-rw-r--r--searchsummary/src/vespa/searchsummary/docsummary/searchdatatype.cpp4
3 files changed, 2 insertions, 12 deletions
diff --git a/searchcommon/src/vespa/searchcommon/attribute/search_context_params.cpp b/searchcommon/src/vespa/searchcommon/attribute/search_context_params.cpp
index dccfb6c6b27..8b58d2d50c2 100644
--- a/searchcommon/src/vespa/searchcommon/attribute/search_context_params.cpp
+++ b/searchcommon/src/vespa/searchcommon/attribute/search_context_params.cpp
@@ -1,11 +1,10 @@
// Copyright 2017 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
-#include <vespa/fastos/fastos.h>
#include "search_context_params.h"
+#include <cstdint>
#include <limits>
-namespace search {
-namespace attribute {
+namespace search::attribute {
SearchContextParams::SearchContextParams()
: _diversityAttribute(nullptr),
@@ -16,4 +15,3 @@ SearchContextParams::SearchContextParams()
}
}
-}
diff --git a/searchsummary/src/vespa/searchsummary/docsummary/linguisticsannotation.cpp b/searchsummary/src/vespa/searchsummary/docsummary/linguisticsannotation.cpp
index 124396aac5a..3513ab8918a 100644
--- a/searchsummary/src/vespa/searchsummary/docsummary/linguisticsannotation.cpp
+++ b/searchsummary/src/vespa/searchsummary/docsummary/linguisticsannotation.cpp
@@ -1,9 +1,5 @@
// 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/log/log.h>
-LOG_SETUP(".searchsummary.docsummary.linguisticsannotation");
-
#include "linguisticsannotation.h"
#include <vespa/document/datatype/datatype.h>
#include <vespa/document/datatype/primitivedatatype.h>
diff --git a/searchsummary/src/vespa/searchsummary/docsummary/searchdatatype.cpp b/searchsummary/src/vespa/searchsummary/docsummary/searchdatatype.cpp
index 6e60628739a..0b8464c0100 100644
--- a/searchsummary/src/vespa/searchsummary/docsummary/searchdatatype.cpp
+++ b/searchsummary/src/vespa/searchsummary/docsummary/searchdatatype.cpp
@@ -1,9 +1,5 @@
// 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/log/log.h>
-LOG_SETUP(".search.docsummary.searchdatatype");
-
#include "searchdatatype.h"
#include <vespa/document/base/field.h>
#include <vespa/document/datatype/primitivedatatype.h>