aboutsummaryrefslogtreecommitdiffstats
path: root/config
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 /config
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 'config')
-rw-r--r--config/src/vespa/config/common/configvalue.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/src/vespa/config/common/configvalue.hpp b/config/src/vespa/config/common/configvalue.hpp
index 3bf149f17b1..665ce69c7a5 100644
--- a/config/src/vespa/config/common/configvalue.hpp
+++ b/config/src/vespa/config/common/configvalue.hpp
@@ -8,7 +8,7 @@ ConfigValue::newInstance() const
{
if (_payload) {
const vespalib::slime::Inspector & payload(_payload->getSlimePayload());
- return std::unique_ptr<ConfigType>(new ConfigType(config::ConfigPayload(payload)));
+ return std::unique_ptr<ConfigType>(new ConfigType(::config::ConfigPayload(payload)));
} else {
return std::unique_ptr<ConfigType>(new ConfigType(*this));
}