blob: 91dcdffe67d2635c305a3c487a8c5b4f774af93d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#include "slobrokstate.h"
namespace mbus {
SlobrokState::SlobrokState()
: _data()
{ }
SlobrokState &
SlobrokState::add(const string &pattern, uint32_t cnt)
{
_data.push_back(std::make_pair(pattern, cnt));
return *this;
}
SlobrokState::ITR
SlobrokState::begin() const
{
return _data.begin();
}
SlobrokState::ITR
SlobrokState::end() const
{
return _data.end();
}
} // namespace mbus
|