BIND 10 master, updated. fc4e4e5c2c469c8c464146bfe56cda99effd4593 [master] define a wrapper object to pass to io_service::post explicitly.
BIND 10 source code commits
bind10-changes at lists.isc.org
Fri May 3 07:27:37 UTC 2013
The branch, master has been updated
via fc4e4e5c2c469c8c464146bfe56cda99effd4593 (commit)
from e3c5c430e69e4b3b2211421be2dc23723c4c40eb (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit fc4e4e5c2c469c8c464146bfe56cda99effd4593
Author: JINMEI Tatuya <jinmei at isc.org>
Date: Fri May 3 07:26:35 2013 +0000
[master] define a wrapper object to pass to io_service::post explicitly.
depending on the version of boost and sunstudio, passing a temporary still
doesn't seem to work.
-----------------------------------------------------------------------
Summary of changes:
src/lib/asiolink/io_service.cc | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
-----------------------------------------------------------------------
diff --git a/src/lib/asiolink/io_service.cc b/src/lib/asiolink/io_service.cc
index aebafcb..df08316 100644
--- a/src/lib/asiolink/io_service.cc
+++ b/src/lib/asiolink/io_service.cc
@@ -81,7 +81,8 @@ public:
/// generalized.
asio::io_service& get_io_service() { return io_service_; };
void post(const boost::function<void ()>& callback) {
- io_service_.post(CallbackWrapper(callback));
+ const CallbackWrapper wrapper(callback);
+ io_service_.post(wrapper);
}
private:
asio::io_service io_service_;
More information about the bind10-changes
mailing list