blob: 74458e26bd4953c5ca0f80a2e431e77833529e90 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
// Copyright Yahoo. 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
|