Skip to content

Commit

Permalink
Fix some more lint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
peternewman committed Mar 16, 2024
1 parent cc2da45 commit c790863
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion include/ola/network/AdvancedTCPConnector.h
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,9 @@ class AdvancedTCPConnector {
/**
* @brief Return the number of connections tracked by this connector.
*/
unsigned int EndpointCount() const { return static_cast<unsigned int>(m_connections.size()); }
unsigned int EndpointCount() const {
return static_cast<unsigned int>(m_connections.size());
}

/**
* @brief The state of a connection.
Expand Down
4 changes: 3 additions & 1 deletion include/ola/network/TCPConnector.h
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,9 @@ class TCPConnector {
/**
* @brief Return the number of pending connections
*/
unsigned int ConnectionsPending() const { return static_cast<unsigned int>(m_connections.size()); }
unsigned int ConnectionsPending() const {
return static_cast<unsigned int>(m_connections.size());
}

/**
* @brief Called when the TCP socket connects.
Expand Down

0 comments on commit c790863

Please sign in to comment.