sources/network/udpsocket.h

changeset 183
9b6a0daedfc0
parent 158
de7574d292ad
child 184
afd63357a03d
--- a/sources/network/udpsocket.h	Wed Jan 27 14:04:53 2021 +0200
+++ b/sources/network/udpsocket.h	Wed Jan 27 14:05:39 2021 +0200
@@ -54,14 +54,14 @@
 	bool read (Datagram& datagram);
 	bool send (const IPAddress& address, const ByteArray& data);
 	bool set_blocking (bool a);
-	const String& error_string() const { return m_error; }
+	const std::string& error_string() const { return m_error; }
 	int file_descriptor() const { return m_socket; }
 
 private:
 	static char HuffmanBuffer[131072];
 
 	IPAddress m_addr;
-	String m_error;
+	std::string m_error;
 	int m_socket;
 };
 

mercurial