Val: Move TablePatternMatcher into detail namespace

There's anyway only prototype in the headers, so detail seems better
than the public zeek namespace.
This commit is contained in:
Arne Welzel 2023-11-01 15:00:05 +01:00
parent 43a5473919
commit c426304c27
2 changed files with 6 additions and 9 deletions

View file

@ -51,6 +51,7 @@ class Frame;
class PrefixTable;
class CompositeHash;
class HashKey;
class TablePatternMatcher;
class ValTrace;
class ZBody;
@ -718,8 +719,6 @@ protected:
TableVal* table;
};
class TablePatternMatcher;
class TableVal final : public Val, public notifier::detail::Modifiable {
public:
explicit TableVal(TableTypePtr t, detail::AttributesPtr attrs = nullptr);
@ -1039,7 +1038,7 @@ protected:
TableValTimer* timer;
RobustDictIterator<TableEntryVal>* expire_iterator;
detail::PrefixTable* subnets;
TablePatternMatcher* pattern_matcher = nullptr;
detail::TablePatternMatcher* pattern_matcher = nullptr;
ValPtr def_val;
detail::ExprPtr change_func;
std::string broker_store;