blob: 3d3802e2c2b88c13665bc91f7a2b9fbcc9c9be2b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#include "fixedtyperepo.h"
#include <cassert>
namespace document {
FixedTypeRepo::FixedTypeRepo(const DocumentTypeRepo &repo, const vespalib::string &type) noexcept
: _repo(&repo), _doc_type(repo.getDocumentType(type))
{
assert(_doc_type);
}
} // namespace document
|