Skip to content

Commit 26b13a3

Browse files
committed
minor changes
1 parent bfd6b94 commit 26b13a3

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

async-call-helper/async-call-helper.hpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,8 +143,7 @@ class async_call_helper
143143

144144
private:
145145
friend struct auto_ref_holder;
146-
struct auto_ref_holder
147-
: public std::enable_shared_from_this<auto_ref_holder> {
146+
struct auto_ref_holder {
148147
explicit auto_ref_holder(Caller* caller_) : caller(caller_) {}
149148
Caller* get_parent() {return caller;}
150149
const Caller* get_parent() const {return caller;}

async-call-helper/safe-service.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ void safe_service::execute() {
3232
auto context_bind = get_context<int>(std::bind(&safe_service::response, this, _1));
3333
c_long_async_function(context_bind.context, context_bind.callback, *param * 3);
3434

35-
cpp::long_async_function(context_bind, *param);
35+
//cpp::long_async_function(context_bind, *param);
3636
}
3737

3838
void safe_service::response(int out_param) {

0 commit comments

Comments
 (0)