diff --git a/rtc_base/socket_address.cc b/rtc_base/socket_address.cc index 8601fc9040..4fc19d5831 100644 --- a/rtc_base/socket_address.cc +++ b/rtc_base/socket_address.cc @@ -162,7 +162,7 @@ std::string SocketAddress::HostAsSensitiveURIString() const { } std::string SocketAddress::PortAsString() const { - return std::to_string(port_); + return rtc::ToString(port_); } std::string SocketAddress::ToString() const {