aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/regex/hyperscan/ut
diff options
context:
space:
mode:
authorVlad Yaroslavlev <vladon@vladon.com>2022-02-10 16:46:23 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:46:23 +0300
commit706b83ed7de5a473436620367af31fc0ceecde07 (patch)
tree103305d30dec77e8f6367753367f59b3cd68f9f1 /library/cpp/regex/hyperscan/ut
parent918e8a1574070d0ec733f0b76cfad8f8892ad2e5 (diff)
downloadydb-706b83ed7de5a473436620367af31fc0ceecde07.tar.gz
Restoring authorship annotation for Vlad Yaroslavlev <vladon@vladon.com>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/regex/hyperscan/ut')
-rw-r--r--library/cpp/regex/hyperscan/ut/hyperscan_ut.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/library/cpp/regex/hyperscan/ut/hyperscan_ut.cpp b/library/cpp/regex/hyperscan/ut/hyperscan_ut.cpp
index 9caa53f2e7..30b4024b33 100644
--- a/library/cpp/regex/hyperscan/ut/hyperscan_ut.cpp
+++ b/library/cpp/regex/hyperscan/ut/hyperscan_ut.cpp
@@ -57,7 +57,7 @@ Y_UNIT_TEST_SUITE(HyperscanWrappers) {
UNIT_ASSERT(NHyperscan::Matches(db, scratch, "BAR"));
UNIT_ASSERT(!NHyperscan::Matches(db, scratch, "FOO"));
- TSet<unsigned int> foundIds;
+ TSet<unsigned int> foundIds;
auto callback = [&](unsigned int id, unsigned long long /* from */, unsigned long long /* to */) {
foundIds.insert(id);
};
@@ -89,7 +89,7 @@ Y_UNIT_TEST_SUITE(HyperscanWrappers) {
NHyperscan::TDatabase db = NHyperscan::Compile(
"foo",
HS_FLAG_DOTALL | HS_FLAG_SINGLEMATCH);
- TString serialization = Serialize(db);
+ TString serialization = Serialize(db);
db.Reset();
TDatabase db2 = Deserialize(serialization);
NHyperscan::TScratch scratch = NHyperscan::MakeScratch(db2);