Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions rocket.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -2082,8 +2082,8 @@ namespace rocket

bool is_queued() const ROCKET_NOEXCEPT
{
return thread_id != std::thread::id{}
&& thread_id != std::this_thread::get_id();
return !(thread_id == std::thread::id{})
&& !(thread_id == std::this_thread::get_id());
}

#ifndef ROCKET_NO_BLOCKING_CONNECTIONS
Expand Down