aboutsummaryrefslogtreecommitdiffstats
path: root/searchlib/src/tests/docstore
diff options
context:
space:
mode:
authorArne H Juul <arnej@yahooinc.com>2021-12-02 08:07:30 +0000
committerArne H Juul <arnej@yahooinc.com>2021-12-02 09:35:08 +0000
commit98b760a33c142227cd88448bc6666eb9809aa4a2 (patch)
treeb36c7e4cdd582267f5a605bb8a2ebeb55d734e8c /searchlib/src/tests/docstore
parenta7aa496c28792461b7e252a3046cf003ed0113b1 (diff)
track namespace move in documenttypes.def
* For C++ code this introduces a "document::config" namespace, which will sometimes conflict with the global "config" namespace. * Move all forward-declarations of the types DocumenttypesConfig and DocumenttypesConfigBuilder to a common header file.
Diffstat (limited to 'searchlib/src/tests/docstore')
-rw-r--r--searchlib/src/tests/docstore/document_store_visitor/document_store_visitor_test.cpp2
-rw-r--r--searchlib/src/tests/docstore/logdatastore/logdatastore_test.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/searchlib/src/tests/docstore/document_store_visitor/document_store_visitor_test.cpp b/searchlib/src/tests/docstore/document_store_visitor/document_store_visitor_test.cpp
index 792cc48c338..072efb06a07 100644
--- a/searchlib/src/tests/docstore/document_store_visitor/document_store_visitor_test.cpp
+++ b/searchlib/src/tests/docstore/document_store_visitor/document_store_visitor_test.cpp
@@ -36,7 +36,7 @@ const string doc_type_name = "test";
const string header_name = doc_type_name + ".header";
const string body_name = doc_type_name + ".body";
-document::DocumenttypesConfig
+document::config::DocumenttypesConfig
makeDocTypeRepoConfig()
{
const int32_t doc_type_id = 787121340;
diff --git a/searchlib/src/tests/docstore/logdatastore/logdatastore_test.cpp b/searchlib/src/tests/docstore/logdatastore/logdatastore_test.cpp
index 242a3c31663..07652dfd336 100644
--- a/searchlib/src/tests/docstore/logdatastore/logdatastore_test.cpp
+++ b/searchlib/src/tests/docstore/logdatastore/logdatastore_test.cpp
@@ -399,7 +399,7 @@ const string doc_type_name = "test";
const string header_name = doc_type_name + ".header";
const string body_name = doc_type_name + ".body";
-document::DocumenttypesConfig
+document::config::DocumenttypesConfig
makeDocTypeRepoConfig()
{
const int32_t doc_type_id = 787121340;