diff options
author | Ivan Blinkov <ivan@blinkov.ru> | 2022-02-10 16:47:11 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:47:11 +0300 |
commit | 5b283123c882433dafbaf6b338adeea16c1a0ea0 (patch) | |
tree | 339adc63bce23800021202ae4a8328a843dc447a /contrib/libs/hyperscan/src/parser/check_refs.cpp | |
parent | 1aeb9a455974457866f78722ad98114bafc84e8a (diff) | |
download | ydb-5b283123c882433dafbaf6b338adeea16c1a0ea0.tar.gz |
Restoring authorship annotation for Ivan Blinkov <ivan@blinkov.ru>. Commit 2 of 2.
Diffstat (limited to 'contrib/libs/hyperscan/src/parser/check_refs.cpp')
-rw-r--r-- | contrib/libs/hyperscan/src/parser/check_refs.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/contrib/libs/hyperscan/src/parser/check_refs.cpp b/contrib/libs/hyperscan/src/parser/check_refs.cpp index fb32ec2974..60b5b6ba77 100644 --- a/contrib/libs/hyperscan/src/parser/check_refs.cpp +++ b/contrib/libs/hyperscan/src/parser/check_refs.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2015-2017, Intel Corporation + * Copyright (c) 2015-2017, Intel Corporation * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: @@ -36,7 +36,7 @@ #include "ConstComponentVisitor.h" #include "parse_error.h" #include "util/container.h" -#include "util/flat_containers.h" +#include "util/flat_containers.h" #include <sstream> @@ -73,8 +73,8 @@ public: throw ParseError(str.str()); } - using DefaultConstComponentVisitor::pre; - + using DefaultConstComponentVisitor::pre; + void pre(const ComponentBackReference &c) override { if (c.ref_id) { if (c.ref_id >= num_ids) { @@ -114,7 +114,7 @@ public: ReferenceVisitor::~ReferenceVisitor() {} void checkReferences(const Component &root, unsigned int groupIndices, - const flat_set<std::string> &groupNames) { + const flat_set<std::string> &groupNames) { ReferenceVisitor vis(groupIndices, groupNames); root.accept(vis); } |