mirror of
https://github.com/boostorg/beast.git
synced 2025-08-03 14:54:32 +02:00
Fix visibility warnings in test
This commit is contained in:
@@ -5,6 +5,7 @@ Version 190:
|
||||
* Add buffers_range
|
||||
* Rename experimental directory
|
||||
* Improve compilation of tests for continuous integration
|
||||
* Fix visibility warnings in test
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
|
@@ -14,11 +14,19 @@
|
||||
|
||||
#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 beast {
|
||||
namespace websocket {
|
||||
|
||||
class read1_test : public websocket_test_suite
|
||||
class BOOST_BEAST_SYMBOL_HIDDEN read1_test
|
||||
: public websocket_test_suite
|
||||
{
|
||||
public:
|
||||
template<class Wrap, bool deflateSupported>
|
||||
|
Reference in New Issue
Block a user