Skip to content

Commit

Permalink
del comment code
Browse files Browse the repository at this point in the history
  • Loading branch information
zhengjian526 committed Jan 22, 2024
1 parent 94c3390 commit 360c53d
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions tests/test_rest_rpc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,6 @@ using namespace rpc_service;

struct dummy {
int add(rpc_conn conn, int a, int b) {
// auto shared_conn = conn.lock();
// if (shared_conn) {
// shared_conn->set_user_data(std::string("aa"));
// auto s = conn.lock()->get_user_data<std::string>();
// std::cout << s << '\n'; // aa
// }
return a + b;
}
};
Expand Down

0 comments on commit 360c53d

Please sign in to comment.