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

Commit0b8ab04

Browse files
committed
Directives: remove parens to silence gcc8 warning
1 parent5a1c841 commit0b8ab04

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,9 @@
3434
#defineBOOST_NETWORK_STRING_DIRECTIVE(name, value, body, pod_body) \
3535
template<classValueType> \
3636
structname##_directive { \
37-
ValueTypeconst&((value)); \
38-
explicit name##_directive(ValueTypeconst&value_) : value(value_) {} \
39-
name##_directive(name##_directiveconst& other) : value(other.value) {} \
37+
ValueTypeconst&value##_; \
38+
explicit name##_directive(ValueTypeconst&v) : value##_(v) {} \
39+
name##_directive(name##_directiveconst& other) : value##_(other.value##_) {} \
4040
template<classTag,template<class>classMessage> \
4141
typename enable_if<is_pod<Tag>,void>::typeoperator()( \
4242
Message<Tag>& message)const { \

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp