aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/messagebus/message.h
diff options
context:
space:
mode:
authorgleb-kov <gleb-kov@yandex-team.ru>2022-02-10 16:46:22 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:46:22 +0300
commit918e8a1574070d0ec733f0b76cfad8f8892ad2e5 (patch)
tree1a2c5ffcf89eb53ecd79dbc9bc0a195c27404d0c /library/cpp/messagebus/message.h
parent7b1cfa32681104c8468c5824c79fd80d9a88a579 (diff)
downloadydb-918e8a1574070d0ec733f0b76cfad8f8892ad2e5.tar.gz
Restoring authorship annotation for <gleb-kov@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/messagebus/message.h')
-rw-r--r--library/cpp/messagebus/message.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/library/cpp/messagebus/message.h b/library/cpp/messagebus/message.h
index 6e96c964d5..005ca10c65 100644
--- a/library/cpp/messagebus/message.h
+++ b/library/cpp/messagebus/message.h
@@ -11,12 +11,12 @@
#include <util/generic/ptr.h>
#include <util/generic/string.h>
#include <util/system/defaults.h>
-#include <util/system/type_name.h>
+#include <util/system/type_name.h>
#include <util/system/yassert.h>
-#include <optional>
-#include <typeinfo>
-
+#include <optional>
+#include <typeinfo>
+
namespace NBus {
///////////////////////////////////////////////////////////////////
/// \brief Structure to preserve identity from message to reply
@@ -37,10 +37,10 @@ namespace NBus {
TInstant RecvTime;
#ifndef NDEBUG
- std::optional<TString> MessageType;
+ std::optional<TString> MessageType;
#endif
- private:
+ private:
// TODO: drop
TNetAddr GetNetAddr() const;
@@ -91,12 +91,12 @@ namespace NBus {
}
}
- void SetMessageType(const std::type_info& messageTypeInfo) {
+ void SetMessageType(const std::type_info& messageTypeInfo) {
#ifndef NDEBUG
Y_VERIFY(!MessageType, "state check");
- MessageType = TypeName(messageTypeInfo);
+ MessageType = TypeName(messageTypeInfo);
#else
- Y_UNUSED(messageTypeInfo);
+ Y_UNUSED(messageTypeInfo);
#endif
}
};