Skip to content

Commit f9a0f32

Browse files
Silence MSVC C4251 for detail::header metadata member
1 parent 8840763 commit f9a0f32

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

include/boost/http_proto/detail/header.hpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,9 @@ struct empty
4444
kind param;
4545
};
4646

47+
BOOST_HTTP_PROTO_MSVC_WARNING_PUSH
48+
BOOST_HTTP_PROTO_MSVC_DISABLE_4251_4275
49+
4750
struct BOOST_HTTP_PROTO_DECL header
4851
{
4952
// +------------+---------+------+------------+-----------------------------+
@@ -218,6 +221,8 @@ struct BOOST_HTTP_PROTO_DECL header
218221
system::error_code&) noexcept;
219222
};
220223

224+
BOOST_HTTP_PROTO_MSVC_WARNING_POP
225+
221226
} // detail
222227
} // http_proto
223228
} // boost

0 commit comments

Comments
 (0)