We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8b3be10 commit eb8e058Copy full SHA for eb8e058
examples/server/server.cpp
@@ -516,7 +516,7 @@ struct server_task_result {
516
};
517
518
// using shared_ptr for polymorphism of server_task_result
519
-using server_task_result_ptr = std::unique_ptr<server_task_result>;
+using server_task_result_ptr = std::shared_ptr<server_task_result>;
520
521
inline std::string stop_type_to_str(stop_type type) {
522
switch (type) {
0 commit comments