aboutsummaryrefslogtreecommitdiffstats
path: root/searchcore/src/vespa/searchcore/proton/matching/match_context.cpp
blob: 2d8be59638077e47cea581e16136723e0ce8029c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// Copyright Yahoo. 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;

}