Skip to content

Commit

Permalink
chore: removed empty to size function
Browse files Browse the repository at this point in the history
  • Loading branch information
0bvim committed Nov 15, 2024
1 parent c55bb60 commit feeb154
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server/Server.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ int Server_class::acceptClient() {
}

const std::vector<int>& sockets = _network.getServerSockets();
if (sockets.empty()) {
if (!sockets.size()) {
return -1;
}

Expand Down

0 comments on commit feeb154

Please sign in to comment.