Module: check_mk
Branch: master
Commit: 5021905c8a82f5dd0005c63c57481e09bcc43468
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=5021905c8a82f5…
Author: Sven Panne <sp(a)mathias-kettner.de>
Date: Fri Sep 8 16:58:40 2017 +0200
Better metric name typing.
Distinguish between the real metric names and their mangled counterparts on
the type level. We are now very explicit about this, making some mangling
Kung Fu visible. Some cleanups on the way.
Change-Id: I2f708134a9c753b8d63178108594810aaed37aa0
---
livestatus/src/ChronoUtils.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/livestatus/src/ChronoUtils.h b/livestatus/src/ChronoUtils.h
index fd21248..b823c37 100644
--- a/livestatus/src/ChronoUtils.h
+++ b/livestatus/src/ChronoUtils.h
@@ -46,8 +46,8 @@ inline double elapsed_ms_since(std::chrono::steady_clock::time_point
then) {
inline tm to_tm(std::chrono::system_clock::time_point tp) {
time_t t = std::chrono::system_clock::to_time_t(tp);
struct tm ret;
- // NOTE: A brilliant example of how to make a simple API function a total
- // chaos follows...
+// NOTE: A brilliant example of how to make a simple API function a total
+// chaos follows...
#if defined(__STDC_LIB_EXT1__)
// C11 function, only guaranteed to be available when a
// #define __STDC_WANT_LIB_EXT1_ 1