Skip to content

Commit cbaa93d

Browse files
committed
incorporate PR tripleslash#11 to fix potential c++20 issue
1 parent 8c5649b commit cbaa93d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/rocket/rocket.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1489,7 +1489,7 @@ namespace rocket
14891489

14901490
ROCKET_NODISCARD bool is_queued() const noexcept
14911491
{
1492-
return thread_id != std::thread::id{} && thread_id != std::this_thread::get_id();
1492+
return !(thread_id == std::thread::id{}) && !(thread_id == std::this_thread::get_id());
14931493
}
14941494
#endif//~ ROCKET_NO_QUEUED_CONNECTIONS
14951495

0 commit comments

Comments
 (0)