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 | 75abffb472365d28bd0a019db1a54cb32a6100dd (patch) | |
tree | 09a7f042da3da3e074e6dd6f7e5305a92eb2321a /contrib | |
parent | b228f91bb45c3cb95fcd861c424bb3de0fd356f2 (diff) | |
download | ydb-75abffb472365d28bd0a019db1a54cb32a6100dd.tar.gz |
Restoring authorship annotation for <sskvor@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'contrib')
-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 b5bf1985d8..78d601ac68 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 aa9718d73a..e6af47a6de 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 */ |