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

@@ -74,7 +74,7 @@ public:
allocator_type
get_allocator() const noexcept
{
return boost::asio::get_associated_allocator(d_.handler());
return (boost::asio::get_associated_allocator)(d_.handler());
}
using executor_type = boost::asio::associated_executor_t<
@@ -83,7 +83,7 @@ public:
executor_type
get_executor() const noexcept
{
return boost::asio::get_associated_executor(
return (boost::asio::get_associated_executor)(
d_.handler(), d_->ws.get_executor());
}
@@ -170,7 +170,7 @@ public:
allocator_type
get_allocator() const noexcept
{
return boost::asio::get_associated_allocator(d_.handler());
return (boost::asio::get_associated_allocator)(d_.handler());
}
using executor_type = boost::asio::associated_executor_t<
@@ -179,7 +179,7 @@ public:
executor_type
get_executor() const noexcept
{
return boost::asio::get_associated_executor(
return (boost::asio::get_associated_executor)(
d_.handler(), d_->ws.get_executor());
}
+2 -2
View File
@@ -81,7 +81,7 @@ public:
allocator_type
get_allocator() const noexcept
{
return boost::asio::get_associated_allocator(d_.handler());
return (boost::asio::get_associated_allocator)(d_.handler());
}
using executor_type = boost::asio::associated_executor_t<
@@ -90,7 +90,7 @@ public:
executor_type
get_executor() const noexcept
{
return boost::asio::get_associated_executor(
return (boost::asio::get_associated_executor)(
d_.handler(), d_->ws.get_executor());
}
@@ -81,7 +81,7 @@ public:
allocator_type
get_allocator() const noexcept
{
return boost::asio::get_associated_allocator(d_.handler());
return (boost::asio::get_associated_allocator)(d_.handler());
}
using executor_type = boost::asio::associated_executor_t<
@@ -90,7 +90,7 @@ public:
executor_type
get_executor() const noexcept
{
return boost::asio::get_associated_executor(
return (boost::asio::get_associated_executor)(
d_.handler(), d_->ws.get_executor());
}
+2 -2
View File
@@ -81,7 +81,7 @@ public:
allocator_type
get_allocator() const noexcept
{
return boost::asio::get_associated_allocator(d_.handler());
return (boost::asio::get_associated_allocator)(d_.handler());
}
using executor_type = boost::asio::associated_executor_t<
@@ -90,7 +90,7 @@ public:
executor_type
get_executor() const noexcept
{
return boost::asio::get_associated_executor(
return (boost::asio::get_associated_executor)(
d_.handler(), d_->ws.get_executor());
}
+4 -4
View File
@@ -81,7 +81,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<
@@ -90,7 +90,7 @@ public:
executor_type
get_executor() const noexcept
{
return boost::asio::get_associated_executor(
return (boost::asio::get_associated_executor)(
h_, ws_.get_executor());
}
@@ -704,7 +704,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<
@@ -713,7 +713,7 @@ public:
executor_type
get_executor() const noexcept
{
return boost::asio::get_associated_executor(
return (boost::asio::get_associated_executor)(
h_, ws_.get_executor());
}
@@ -56,7 +56,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<
@@ -65,7 +65,7 @@ public:
executor_type
get_executor() const noexcept
{
return boost::asio::get_associated_executor(
return (boost::asio::get_associated_executor)(
h_, s_.get_executor());
}
+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());
}