aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/sliding_window
diff options
context:
space:
mode:
authorCthulhu <cthulhu@yandex-team.ru>2022-02-10 16:47:44 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:47:44 +0300
commit6aced6c854653b75aab9808d5995be5fc4d9fa53 (patch)
treec0748b5dcbade83af788c0abfa89c0383d6b779c /library/cpp/sliding_window
parentbcb3e9d0eb2a8188a6a9fe0907a8949ce4881a4e (diff)
downloadydb-6aced6c854653b75aab9808d5995be5fc4d9fa53.tar.gz
Restoring authorship annotation for Cthulhu <cthulhu@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/sliding_window')
-rw-r--r--library/cpp/sliding_window/sliding_window.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/library/cpp/sliding_window/sliding_window.h b/library/cpp/sliding_window/sliding_window.h
index 5d73f2f9a9..180bdf93d0 100644
--- a/library/cpp/sliding_window/sliding_window.h
+++ b/library/cpp/sliding_window/sliding_window.h
@@ -119,11 +119,11 @@ namespace NSlidingWindow {
class TSlidingWindow {
public:
using TValueType = typename TOperation::TValueType;
- using TValueVector = TVector<TValueType>;
- using TSizeType = typename TValueVector::size_type;
+ using TValueVector = TVector<TValueType>;
+ using TSizeType = typename TValueVector::size_type;
public:
- TSlidingWindow(const TDuration& length, TSizeType partsNum)
+ TSlidingWindow(const TDuration& length, TSizeType partsNum)
: Mutex()
, Buckets(partsNum, TOperation::InitialValue()) // vector of size partsNum initialized with initial value
, WindowValue(TOperation::InitialValue())