Skip to content

Commit

Permalink
return nullopt
Browse files Browse the repository at this point in the history
  • Loading branch information
markaren committed Oct 18, 2024
1 parent 13996f0 commit d8e7763
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/simple_socket/util/port_query.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -42,5 +42,5 @@ std::optional<uint16_t> simple_socket::getAvailablePort(uint16_t startPort, uint

closeSocket(sockfd);

return -1;// No available port found
return std::nullopt;// No available port found
}

0 comments on commit d8e7763

Please sign in to comment.