Skip to content

Commit eb8e058

Browse files
committed
fix
1 parent 8b3be10 commit eb8e058

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/server/server.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -516,7 +516,7 @@ struct server_task_result {
516516
};
517517

518518
// using shared_ptr for polymorphism of server_task_result
519-
using server_task_result_ptr = std::unique_ptr<server_task_result>;
519+
using server_task_result_ptr = std::shared_ptr<server_task_result>;
520520

521521
inline std::string stop_type_to_str(stop_type type) {
522522
switch (type) {

0 commit comments

Comments
 (0)