sources/network/udpsocket.cpp

changeset 183
9b6a0daedfc0
parent 182
20ca0a6be175
child 186
9330b93d9946
--- a/sources/network/udpsocket.cpp	Wed Jan 27 14:04:53 2021 +0200
+++ b/sources/network/udpsocket.cpp	Wed Jan 27 14:05:39 2021 +0200
@@ -124,7 +124,7 @@
 	if (length == -1)
 	{
 		if (errno != EWOULDBLOCK)
-			m_error = String ("recvfrom error: ") + strerror (errno);
+			m_error = std::string ("recvfrom error: ") + strerror (errno);
 
 		return false;
 	}
@@ -151,7 +151,7 @@
 
 	if (res == -1)
 	{
-		m_error = String ("Unable to launch packet: ") + strerror (errno);
+		m_error = std::string ("Unable to launch packet: ") + strerror (errno);
 		return false;
 	}
 

mercurial