Skip to content

Commit

Permalink
Make Crow::port getter const
Browse files Browse the repository at this point in the history
  • Loading branch information
bugdea1er authored and gittiver committed Aug 7, 2024
1 parent 9600af3 commit 1cf1942
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/crow/app.h
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ namespace crow
}

/// \brief Get the port that Crow will handle requests on
std::uint16_t port()
std::uint16_t port() const
{
return port_;
}
Expand Down

0 comments on commit 1cf1942

Please sign in to comment.