diff options
author | Arne H Juul <arnej@yahooinc.com> | 2021-12-02 08:07:30 +0000 |
---|---|---|
committer | Arne H Juul <arnej@yahooinc.com> | 2021-12-02 09:35:08 +0000 |
commit | 98b760a33c142227cd88448bc6666eb9809aa4a2 (patch) | |
tree | b36c7e4cdd582267f5a605bb8a2ebeb55d734e8c /config/src | |
parent | a7aa496c28792461b7e252a3046cf003ed0113b1 (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/src')
-rw-r--r-- | config/src/vespa/config/common/configvalue.hpp | 2 |
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)); } |