Skip to content

Commit 38e48c9

Browse files
coneiricdeanberris
authored andcommitted
Directives: remove parens to silence gcc8 warning (#845)
1 parent 221a2f3 commit 38e48c9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@
3434
#define BOOST_NETWORK_STRING_DIRECTIVE(name, value, body, pod_body) \
3535
template <class ValueType> \
3636
struct name##_directive { \
37-
ValueType const&((value)); \
38-
explicit name##_directive(ValueType const& value_) : value(value_) {} \
37+
ValueType const& value; \
38+
explicit name##_directive(ValueType const& v) : value(v) {} \
3939
name##_directive(name##_directive const& other) : value(other.value) {} \
4040
template <class Tag, template <class> class Message> \
4141
typename enable_if<is_pod<Tag>, void>::type operator()( \

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy