aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/containers
diff options
context:
space:
mode:
authorbulatman <bulatman@yandex-team.com>2023-06-10 13:55:11 +0300
committerbulatman <bulatman@yandex-team.com>2023-06-10 13:55:11 +0300
commitd570836295decdb827b4f95d75ebf2d8d9232b9b (patch)
tree859f3511dc3166e935b9c3438f6beee050816001 /library/cpp/containers
parent91497eb27263e2feb35b53a90773e7207752a2ec (diff)
downloadydb-d570836295decdb827b4f95d75ebf2d8d9232b9b.tar.gz
Remove extra semicolon (library)
Diffstat (limited to 'library/cpp/containers')
-rw-r--r--library/cpp/containers/comptrie/benchmark/main.cpp4
-rw-r--r--library/cpp/containers/comptrie/comptrie_trie.h2
-rw-r--r--library/cpp/containers/comptrie/pattern_searcher.h2
-rw-r--r--library/cpp/containers/stack_vector/stack_vec.h2
4 files changed, 5 insertions, 5 deletions
diff --git a/library/cpp/containers/comptrie/benchmark/main.cpp b/library/cpp/containers/comptrie/benchmark/main.cpp
index 6e42dad18ac..bbb55aa14af 100644
--- a/library/cpp/containers/comptrie/benchmark/main.cpp
+++ b/library/cpp/containers/comptrie/benchmark/main.cpp
@@ -89,7 +89,7 @@ struct TDatasetInstance {
Samples.back() += dictionary[rng.GenRand() % dictionary.size()];
}
}
- };
+ }
TString GetSample(size_t iteration) const {
TFastRng<ui64> rng(iteration);
@@ -159,7 +159,7 @@ struct TAhoCorasickInstance {
builder.SaveToStream(&buffer);
Instance.Reset(new TDefaultMappedAhoCorasick(TBlob::FromBuffer(buffer.Buffer())));
- };
+ }
THolder<TDefaultMappedAhoCorasick> Instance;
};
diff --git a/library/cpp/containers/comptrie/comptrie_trie.h b/library/cpp/containers/comptrie/comptrie_trie.h
index a3f1fcfb5c6..49259226276 100644
--- a/library/cpp/containers/comptrie/comptrie_trie.h
+++ b/library/cpp/containers/comptrie/comptrie_trie.h
@@ -104,7 +104,7 @@ public:
const TBlob& Data() const {
return DataHolder;
- };
+ }
const NCompactTrie::ILeafSkipper& GetSkipper() const {
return Skipper;
diff --git a/library/cpp/containers/comptrie/pattern_searcher.h b/library/cpp/containers/comptrie/pattern_searcher.h
index caab51dc1c5..087c908863f 100644
--- a/library/cpp/containers/comptrie/pattern_searcher.h
+++ b/library/cpp/containers/comptrie/pattern_searcher.h
@@ -26,7 +26,7 @@ namespace NCompactTrie {
const size_t FLAGS_SIZE = sizeof(char);
const size_t SYMBOL_SIZE = sizeof(char);
-};
+}
template <class T = char, class D = ui64, class S = TCompactTriePacker<D>>
class TCompactPatternSearcherBuilder : protected TCompactTrieBuilder<T, D, S> {
diff --git a/library/cpp/containers/stack_vector/stack_vec.h b/library/cpp/containers/stack_vector/stack_vec.h
index ea648767ae2..91ae8a47786 100644
--- a/library/cpp/containers/stack_vector/stack_vec.h
+++ b/library/cpp/containers/stack_vector/stack_vec.h
@@ -46,7 +46,7 @@ namespace NPrivate {
public:
//NOTE: it is important to make this syntax; using =default will lead to memset https://godbolt.org/z/vTqzK9aWr
- TStackBasedAllocator() noexcept {};
+ TStackBasedAllocator() noexcept {}
template <
typename... TArgs,