Skip to content

Commit e468d94

Browse files
committed
Fix clang-format booboo on macros.
1 parent 6329f83 commit e468d94

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

+13-13
Original file line numberDiff line numberDiff line change
@@ -27,20 +27,20 @@
2727
//
2828

2929
#ifndef NETWORK_STRING_DIRECTIVE
30-
#define NETWORK_STRING_DIRECTIVE(name) \
31-
struct name##_directive { \
32-
std::string const& value; \
33-
explicit name##_directive(std::string const& value_) : value(value_) {} \
34-
name##_directive(name##_directive const& other) : value(other.value) {} \
35-
template <class Message> void operator()(Message& message) const { \
36-
message.set_##name(value); \
37-
} \
38-
} \
39-
;
40-
41-
inline name##_directive const name(std::string const& input) {
42-
return name##_directive(input);
30+
#define NETWORK_STRING_DIRECTIVE(name)\
31+
struct name##_directive {\
32+
std::string const& value;\
33+
explicit name##_directive(std::string const& value_) : value(value_) {}\
34+
name##_directive(name##_directive const& other) : value(other.value) {}\
35+
template <class Message> void operator()(Message& message) const {\
36+
message.set_##name(value);\
37+
}\
38+
}\
39+
;\
40+
inline name##_directive const name(std::string const& 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)