mirror of
https://github.com/boostorg/beast.git
synced 2025-08-06 16:24:49 +02:00
Fix visibility warnings in test
This commit is contained in:
@@ -5,6 +5,7 @@ Version 190:
|
|||||||
* Add buffers_range
|
* Add buffers_range
|
||||||
* Rename experimental directory
|
* Rename experimental directory
|
||||||
* Improve compilation of tests for continuous integration
|
* Improve compilation of tests for continuous integration
|
||||||
|
* Fix visibility warnings in test
|
||||||
|
|
||||||
--------------------------------------------------------------------------------
|
--------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
@@ -14,11 +14,19 @@
|
|||||||
|
|
||||||
#include <boost/asio/write.hpp>
|
#include <boost/asio/write.hpp>
|
||||||
|
|
||||||
|
#include <boost/config/workaround.hpp>
|
||||||
|
#if BOOST_WORKAROUND(BOOST_GCC, < 80200)
|
||||||
|
#define BOOST_BEAST_SYMBOL_HIDDEN __attribute__ ((visibility("hidden")))
|
||||||
|
#else
|
||||||
|
#define BOOST_BEAST_SYMBOL_HIDDEN
|
||||||
|
#endif
|
||||||
|
|
||||||
namespace boost {
|
namespace boost {
|
||||||
namespace beast {
|
namespace beast {
|
||||||
namespace websocket {
|
namespace websocket {
|
||||||
|
|
||||||
class read1_test : public websocket_test_suite
|
class BOOST_BEAST_SYMBOL_HIDDEN read1_test
|
||||||
|
: public websocket_test_suite
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
template<class Wrap, bool deflateSupported>
|
template<class Wrap, bool deflateSupported>
|
||||||
|
Reference in New Issue
Block a user