summaryrefslogtreecommitdiffstats
path: root/document
diff options
context:
space:
mode:
authorTor Egge <Tor.Egge@online.no>2024-01-29 10:52:36 +0100
committerTor Egge <Tor.Egge@online.no>2024-01-29 10:52:36 +0100
commit73f89030186b36167b8840493ca6bf6519694b22 (patch)
tree459dbe5a2bf857699fcdb22af52ccd471f68611d /document
parentec496b47e8fe68a4bf9ee3df8f562d36a8bfa71f (diff)
Deinline document::config_builder::DatatypeConfig destructor.
Diffstat (limited to 'document')
-rw-r--r--document/src/vespa/document/repo/configbuilder.cpp1
-rw-r--r--document/src/vespa/document/repo/configbuilder.h2
2 files changed, 2 insertions, 1 deletions
diff --git a/document/src/vespa/document/repo/configbuilder.cpp b/document/src/vespa/document/repo/configbuilder.cpp
index 5f40bde1966..cf563c5c783 100644
--- a/document/src/vespa/document/repo/configbuilder.cpp
+++ b/document/src/vespa/document/repo/configbuilder.cpp
@@ -19,6 +19,7 @@ DatatypeConfig::DatatypeConfig() {
}
DatatypeConfig::DatatypeConfig(const DatatypeConfig&) = default;
+DatatypeConfig::~DatatypeConfig() = default;
DatatypeConfig& DatatypeConfig::operator=(const DatatypeConfig&) = default;
void DatatypeConfig::addNestedType(const TypeOrId &t) {
diff --git a/document/src/vespa/document/repo/configbuilder.h b/document/src/vespa/document/repo/configbuilder.h
index 4ef17425c1b..61924b2b41a 100644
--- a/document/src/vespa/document/repo/configbuilder.h
+++ b/document/src/vespa/document/repo/configbuilder.h
@@ -17,8 +17,8 @@ struct DatatypeConfig : DocumenttypesConfig::Documenttype::Datatype {
std::vector<DatatypeConfig> nested_types;
DatatypeConfig();
-
DatatypeConfig(const DatatypeConfig&);
+ ~DatatypeConfig();
DatatypeConfig& operator=(const DatatypeConfig&);
DatatypeConfig &setId(int32_t i) { id = i; return *this; }