Skip to content

Commit

Permalink
maybe fix AddressSanitizer?
Browse files Browse the repository at this point in the history
  • Loading branch information
ngxson committed Sep 3, 2024
1 parent 852f654 commit 040fdde
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/server/server.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -471,7 +471,7 @@ struct server_queue {
if (!queue_tasks_deferred.empty()) {
server_task task = queue_tasks_deferred.front();
queue_tasks_deferred.erase(queue_tasks_deferred.begin());
queue_tasks.push_back(std::move(task));
queue_tasks.push_back(task);
}
}

Expand Down

0 comments on commit 040fdde

Please sign in to comment.