Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commite468d94

Browse files
committed
Fix clang-format booboo on macros.
1 parent6329f83 commite468d94

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

‎message/src/network/message/directives/detail/string_directive.hpp‎

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -27,20 +27,20 @@
2727
//
2828

2929
#ifndef NETWORK_STRING_DIRECTIVE
30-
#defineNETWORK_STRING_DIRECTIVE(name) \
31-
structname##_directive { \
32-
std::stringconst& value; \
33-
explicit name##_directive(std::stringconst& value_) : value(value_) {} \
34-
name##_directive(name##_directiveconst& other) : value(other.value) {} \
35-
template<classMessage>voidoperator()(Message& message)const { \
36-
message.set_##name(value); \
37-
} \
38-
} \
39-
;
40-
41-
inline name##_directiveconstname(std::stringconst& input) {
42-
return name##_directive(input);
30+
#defineNETWORK_STRING_DIRECTIVE(name)\
31+
structname##_directive {\
32+
std::stringconst& value;\
33+
explicit name##_directive(std::stringconst& value_) : value(value_) {}\
34+
name##_directive(name##_directiveconst& other) : value(other.value) {}\
35+
template<classMessage>voidoperator()(Message& message)const {\
36+
message.set_##name(value);\
37+
}\
38+
}\
39+
;\
40+
inline name##_directiveconstname(std::stringconst& input) {\
41+
return name##_directive(input);\
4342
}
43+
4444
#endif/* NETWORK_STRING_DIRECTIVE*/
4545

4646
#endif/* NETWORK_MESSAGE_DIRECTIVES_DETAIL_STRING_DIRECTIVE_HPP_20100915*/

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp