diff options
| author | stanly <[email protected]> | 2022-02-10 16:46:49 +0300 | 
|---|---|---|
| committer | Daniil Cherednik <[email protected]> | 2022-02-10 16:46:49 +0300 | 
| commit | cde218e65dfef5ce03a48d641fd8f7913cf17b2d (patch) | |
| tree | d3349caea4095825a55b5ba24fe758067b29ce6f /library/cpp/monlib/counters | |
| parent | 9f813499b4ef585cb3c2bb93de93ef003daf4fc4 (diff) | |
Restoring authorship annotation for <[email protected]>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/monlib/counters')
| -rw-r--r-- | library/cpp/monlib/counters/counters.h | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/library/cpp/monlib/counters/counters.h b/library/cpp/monlib/counters/counters.h index 038b55f0c87..d30b78e12cc 100644 --- a/library/cpp/monlib/counters/counters.h +++ b/library/cpp/monlib/counters/counters.h @@ -80,7 +80,7 @@ namespace NMonitoring {          TValueBase Sub(const TValue val) {              return AtomicAdd(Value, -val);          } - +           // operator overloads convinient          void operator++() {              Inc(); @@ -107,7 +107,7 @@ namespace NMonitoring {              AtomicSwap(&Value, rhs);              return rhs;          } - +           bool operator!() const {              return AtomicGet(Value) == 0;          } | 
