aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/monlib
diff options
context:
space:
mode:
authorstanly <stanly@yandex-team.ru>2022-02-10 16:46:49 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:46:49 +0300
commit6170310e8721e225f64ddabf7a7358253d7a1249 (patch)
tree49e222ea1c5804306084bb3ae065bb702625360f /library/cpp/monlib
parentcde218e65dfef5ce03a48d641fd8f7913cf17b2d (diff)
downloadydb-6170310e8721e225f64ddabf7a7358253d7a1249.tar.gz
Restoring authorship annotation for <stanly@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/monlib')
-rw-r--r--library/cpp/monlib/counters/counters.h4
-rw-r--r--library/cpp/monlib/service/service.cpp2
2 files changed, 3 insertions, 3 deletions
diff --git a/library/cpp/monlib/counters/counters.h b/library/cpp/monlib/counters/counters.h
index d30b78e12c..038b55f0c8 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;
}
diff --git a/library/cpp/monlib/service/service.cpp b/library/cpp/monlib/service/service.cpp
index d61d0782fa..929efbf816 100644
--- a/library/cpp/monlib/service/service.cpp
+++ b/library/cpp/monlib/service/service.cpp
@@ -55,7 +55,7 @@ namespace NMonitoring {
}
const char* GetURI() const override {
- return Header.request_uri.c_str();
+ return Header.request_uri.c_str();
}
const char* GetPath() const override {
return Url.Get(THttpURL::FieldPath);