projects
/
invirt/third/libt4.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Lots of clean-ups and simplifications
[invirt/third/libt4.git]
/
rpc
/
rpc.cc
diff --git
a/rpc/rpc.cc
b/rpc/rpc.cc
index
5de3984
..
d53776a
100644
(file)
--- a/
rpc/rpc.cc
+++ b/
rpc/rpc.cc
@@
-424,7
+424,7
@@
rpcs::got_pdu(connection *c, char *b, int sz)
djob_t *j = new djob_t(c, b, sz);
c->incref();
- bool succ = dispatchpool_->addObjJob(this, &rpcs::dispatch, j);
+ bool succ = dispatchpool_->addJob(std::bind(&rpcs::dispatch, this, j));
if(!succ || !reachable_){
c->decref();
delete j;