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 2ad62f6bbca8..94cbb449d4c0 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,13 @@ EmptyFactoryCheck emptyFactoryCheck; } +DocumentTypeRepoFactory::DocumentTypeRepoEntry::DocumentTypeRepoEntry(std::weak_ptr repo_in, + std::unique_ptr config_in) + : repo(std::move(repo_in)), + config(std::move(config_in)) +{ +} + DocumentTypeRepoFactory::DocumentTypeRepoEntry::~DocumentTypeRepoEntry() = default; /* 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 d3ed0358fd14..331a884c8e4a 100644 --- a/document/src/vespa/document/repo/document_type_repo_factory.h +++ b/document/src/vespa/document/repo/document_type_repo_factory.h @@ -21,11 +21,7 @@ class DocumentTypeRepoFactory { std::unique_ptr config; DocumentTypeRepoEntry(std::weak_ptr repo_in, - std::unique_ptr config_in) - : repo(std::move(repo_in)), - config(std::move(config_in)) - { - } + std::unique_ptr config_in); DocumentTypeRepoEntry(DocumentTypeRepoEntry &&) = default; ~DocumentTypeRepoEntry(); };