fixed release build of udp_socket

This commit is contained in:
Arvid Norberg
2008-09-24 17:25:45 +00:00
parent 6d97d562f9
commit 61af2370f3

View File

@@ -39,7 +39,7 @@ udp_socket::udp_socket(asio::io_service& ios, udp_socket::callback_t const& c
int& m;
};
#else
#define CHECK_MAGIC (void)
#define CHECK_MAGIC do {} while (false)
#endif
void udp_socket::send(udp::endpoint const& ep, char const* p, int len, error_code& ec)