Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions websocketpp/uri.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -262,9 +262,7 @@ class uri {
}

std::string get_port_str() const {
std::stringstream p;
p << m_port;
return p.str();
return std::to_string(m_port);
}

std::string const & get_resource() const {
Expand Down