diff options
author | vvvv <vvvv@yandex-team.ru> | 2022-02-10 16:46:37 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:46:37 +0300 |
commit | a693106aae8a3a3c7236a4ae953058a9611d7a92 (patch) | |
tree | 49e222ea1c5804306084bb3ae065bb702625360f /library/cpp/monlib/dynamic_counters/counters.h | |
parent | ad94e93a059747f4fc3d7add88d1a83daf40b733 (diff) | |
download | ydb-a693106aae8a3a3c7236a4ae953058a9611d7a92.tar.gz |
Restoring authorship annotation for <vvvv@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/monlib/dynamic_counters/counters.h')
-rw-r--r-- | library/cpp/monlib/dynamic_counters/counters.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/library/cpp/monlib/dynamic_counters/counters.h b/library/cpp/monlib/dynamic_counters/counters.h index fd027ddc99..dc178cfbe0 100644 --- a/library/cpp/monlib/dynamic_counters/counters.h +++ b/library/cpp/monlib/dynamic_counters/counters.h @@ -81,11 +81,11 @@ namespace NMonitoring { } }; -#ifdef _MSC_VER -#pragma warning(push) -#pragma warning(disable : 4522) // multiple assignment operators specified -#endif // _MSC_VER - +#ifdef _MSC_VER +#pragma warning(push) +#pragma warning(disable : 4522) // multiple assignment operators specified +#endif // _MSC_VER + struct TCounterForPtr: public TDeprecatedCounter, public TCountableBase { TCounterForPtr(bool derivative = false, EVisibility vis = EVisibility::Public) : TDeprecatedCounter(0ULL, derivative) @@ -95,7 +95,7 @@ namespace NMonitoring { TCounterForPtr(const TCounterForPtr&) = delete; TCounterForPtr& operator=(const TCounterForPtr& other) = delete; - + void Accept( const TString& labelName, const TString& labelValue, ICountableConsumer& consumer) const override { @@ -181,10 +181,10 @@ namespace NMonitoring { using THistogramPtr = TIntrusivePtr<THistogramCounter>; -#ifdef _MSC_VER -#pragma warning(pop) -#endif - +#ifdef _MSC_VER +#pragma warning(pop) +#endif + struct TDynamicCounters; typedef TIntrusivePtr<TDynamicCounters> TDynamicCounterPtr; |