summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2021-01-04 13:49:03 +0100
committerGitHub <noreply@github.com>2021-01-04 13:49:03 +0100
commit339c4c25288fdd86310ea6f18a5b77a793ee25f3 (patch)
treee9db8a45033b676023e2cce31f02af4b4c4b2497
parent2daff17d7e3f7341c8efa4cf9cced09234b17a5e (diff)
parent50aec49a2f0a41f3840efc1134feffed9ca3f89d (diff)
Merge pull request #15890 from vespa-engine/toregge/add-document-type-repo-entry-destructor
Add DocumentTypeRepoEntry destructor.
-rw-r--r--document/src/vespa/document/repo/document_type_repo_factory.cpp2
-rw-r--r--document/src/vespa/document/repo/document_type_repo_factory.h2
2 files changed, 4 insertions, 0 deletions
diff --git a/document/src/vespa/document/repo/document_type_repo_factory.cpp b/document/src/vespa/document/repo/document_type_repo_factory.cpp
index becf4face92..7033d29c7c2 100644
--- a/document/src/vespa/document/repo/document_type_repo_factory.cpp
+++ b/document/src/vespa/document/repo/document_type_repo_factory.cpp
@@ -32,6 +32,8 @@ EmptyFactoryCheck emptyFactoryCheck;
}
+DocumentTypeRepoFactory::DocumentTypeRepoEntry::~DocumentTypeRepoEntry() = default;
+
/*
* Class handling deletion of document type repo after last reference is gone.
*/
diff --git a/document/src/vespa/document/repo/document_type_repo_factory.h b/document/src/vespa/document/repo/document_type_repo_factory.h
index 4bf65d61645..eab8d7a2879 100644
--- a/document/src/vespa/document/repo/document_type_repo_factory.h
+++ b/document/src/vespa/document/repo/document_type_repo_factory.h
@@ -30,6 +30,8 @@ class DocumentTypeRepoFactory {
config(std::move(config_in))
{
}
+ DocumentTypeRepoEntry(DocumentTypeRepoEntry &&) = default;
+ ~DocumentTypeRepoEntry();
};
using DocumentTypeRepoMap = std::map<const void *, DocumentTypeRepoEntry>;
class Deleter;