aboutsummaryrefslogtreecommitdiffstats
path: root/searchcore/src/vespa/searchcore/proton/matching/match_context.cpp
blob: e0b9db856916d181080d9d9f5efe37b611a550fd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.

#include "match_context.h"
#include <cassert>

namespace proton::matching {

MatchContext::MatchContext(std::unique_ptr<IAttributeContext> attrCtx, std::unique_ptr<ISearchContext> searchCtx) noexcept
    : _attrCtx(std::move(attrCtx)),
      _searchCtx(std::move(searchCtx))
{
    assert(_attrCtx);
    assert(_searchCtx);
}

MatchContext::MatchContext() noexcept = default;
MatchContext::~MatchContext() = default;

}