sources/network/udpsocket.cpp

changeset 145
d0aedc9be448
parent 109
e4966d7e615d
child 150
37db42ad451a
child 152
6be21be4bea1
--- a/sources/network/udpsocket.cpp	Wed Jul 20 15:07:57 2016 +0300
+++ b/sources/network/udpsocket.cpp	Wed Jul 20 16:01:10 2016 +0300
@@ -105,7 +105,7 @@
 
 	if (::bind (m_socket, reinterpret_cast<sockaddr*> (&svaddr), sizeof svaddr) == -1)
 	{
-		m_error = String ("Couldn't bind to port ") + String::from_number (port);
+		m_error = String ("Couldn't bind to port ") + String::fromNumber (port);
 		return false;
 	}
 

mercurial