Skip to content

Commit 7261719

Browse files
committed
-..
1 parent ae3ac50 commit 7261719

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
@@ -38,8 +38,7 @@ struct asyn_call_token
3838
return caller;
3939
}
4040

41-
42-
operator bool() const noexcept {
41+
explicit operator bool() const noexcept {
4342
return caller != nullptr;
4443
}
4544

async-call-helper/safe-service.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ safe_service::safe_service(int in_param)
1010
}
1111

1212
safe_service::~safe_service() {
13-
std::cout << "~dtor service \n";
1413
set_deleted();
14+
std::cout << "~dtor service \n";
1515
}
1616

1717
static inline void safe_response_cb(void* context, int out_param) {

0 commit comments

Comments
 (0)