Skip to content

Directives: remove parens to silence gcc8 warning #845

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions boost/network/message/directives/detail/string_directive.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@
#define BOOST_NETWORK_STRING_DIRECTIVE(name, value, body, pod_body) \
template <class ValueType> \
struct name##_directive { \
ValueType const&((value)); \
explicit name##_directive(ValueType const& value_) : value(value_) {} \
ValueType const& value; \
explicit name##_directive(ValueType const& v) : value(v) {} \
name##_directive(name##_directive const& other) : value(other.value) {} \
template <class Tag, template <class> class Message> \
typename enable_if<is_pod<Tag>, void>::type operator()( \
Expand Down