diff options
author | sskvor <sskvor@yandex-team.ru> | 2022-02-10 16:48:04 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:48:04 +0300 |
commit | 10ade5dcb952a8fae61f734485641a8409e1c545 (patch) | |
tree | b222e5ac2e2e98872661c51ccceee5da0d291e13 /contrib/libs | |
parent | 75abffb472365d28bd0a019db1a54cb32a6100dd (diff) | |
download | ydb-10ade5dcb952a8fae61f734485641a8409e1c545.tar.gz |
Restoring authorship annotation for <sskvor@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'contrib/libs')
-rw-r--r-- | contrib/libs/hyperscan/src/rose/rose_graph.h | 4 | ||||
-rw-r--r-- | contrib/libs/hyperscan/src/util/ue2_graph.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/contrib/libs/hyperscan/src/rose/rose_graph.h b/contrib/libs/hyperscan/src/rose/rose_graph.h index 78d601ac68..b5bf1985d8 100644 --- a/contrib/libs/hyperscan/src/rose/rose_graph.h +++ b/contrib/libs/hyperscan/src/rose/rose_graph.h @@ -112,7 +112,7 @@ struct LeftEngInfo { } size_t hash() const; void reset(void); - explicit operator bool() const; + explicit operator bool() const; bool tracksSom() const { return !!haig; } }; @@ -133,7 +133,7 @@ struct RoseSuffixInfo { bool operator<(const RoseSuffixInfo &b) const; size_t hash() const; void reset(void); - explicit operator bool() const { return graph || castle || haig || rdfa || tamarama; } + explicit operator bool() const { return graph || castle || haig || rdfa || tamarama; } }; /** \brief Properties attached to each Rose graph vertex. */ diff --git a/contrib/libs/hyperscan/src/util/ue2_graph.h b/contrib/libs/hyperscan/src/util/ue2_graph.h index e6af47a6de..aa9718d73a 100644 --- a/contrib/libs/hyperscan/src/util/ue2_graph.h +++ b/contrib/libs/hyperscan/src/util/ue2_graph.h @@ -176,7 +176,7 @@ public: vertex_descriptor() : p(nullptr), serial(0) {} explicit vertex_descriptor(vertex_node *pp) : p(pp), serial(pp->serial) {} - explicit operator bool() const { return p; } + explicit operator bool() const { return p; } bool operator<(const vertex_descriptor b) const { if (p && b.p) { /* no vertices in the same graph can have the same serial */ |