Protect calls from macros

fix #918
This commit is contained in:
Vinnie Falco committed 2017-12-04 12:14:11 -08:00
1 parent eb412ee958
commit eb0cc97e1a
15 files changed
+40 -39

No files matched your search

+2 -2
View File
@@ -76,7 +76,7 @@ public:
allocator_type
get_allocator() const noexcept
{
return boost::asio::get_associated_allocator(h_);
return (boost::asio::get_associated_allocator)(h_);
}
using executor_type = boost::asio::associated_executor_t<
@@ -85,7 +85,7 @@ public:
executor_type
get_executor() const noexcept
{
return boost::asio::get_associated_executor(
return (boost::asio::get_associated_executor)(
h_, ws_.get_executor());
}