diff options
author | bazeltsev <bazeltsev@ydb.tech> | 2022-07-11 11:24:19 +0300 |
---|---|---|
committer | bazeltsev <bazeltsev@ydb.tech> | 2022-07-11 11:24:19 +0300 |
commit | 8895ca7eeadc7a652558c10eb505ff84270a14b2 (patch) | |
tree | 3eead4209c91c445ecbec4859b74cbe487f1f113 /util | |
parent | adceb9438f2376656018b857e0fa51dcb3dd5fd7 (diff) | |
download | ydb-8895ca7eeadc7a652558c10eb505ff84270a14b2.tar.gz |
Add ydb changelog
updated
Diffstat (limited to 'util')
-rw-r--r-- | util/generic/string.h | 1 | ||||
-rw-r--r-- | util/thread/lfqueue.h | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/util/generic/string.h b/util/generic/string.h index f43775f8aa..fedde9e787 100644 --- a/util/generic/string.h +++ b/util/generic/string.h @@ -1,5 +1,6 @@ #pragma once +#include <algorithm> #include <cstddef> #include <cstring> #include <stlfwd> diff --git a/util/thread/lfqueue.h b/util/thread/lfqueue.h index dd4e738661..bfe88013fc 100644 --- a/util/thread/lfqueue.h +++ b/util/thread/lfqueue.h @@ -22,7 +22,7 @@ struct TDefaultLFCounter { // @brief lockfree queue // @tparam T - the queue element, should be movable // @tparam TCounter, a observer class to count number of items in queue -// be carifull, IncCount and DecCount can be called on a moved object and +// be careful, IncCount and DecCount can be called on a moved object and // it is TCounter class responsibility to check validity of passed object template <class T, class TCounter> class TLockFreeQueue: public TNonCopyable { |