File tree Expand file tree Collapse file tree 2 files changed +0
-32
lines changed Expand file tree Collapse file tree 2 files changed +0
-32
lines changed Original file line number Diff line number Diff line change @@ -205,11 +205,6 @@ void InternetSocket::sigio(Callback<void()> callback)
205205 core_util_critical_section_exit ();
206206}
207207
208- void InternetSocket::attach (Callback<void ()> callback)
209- {
210- sigio (callback);
211- }
212-
213208nsapi_error_t InternetSocket::getpeername (SocketAddress *address)
214209{
215210 if (!_socket) {
Original file line number Diff line number Diff line change @@ -124,33 +124,6 @@ class InternetSocket : public Socket {
124124 */
125125 nsapi_error_t getpeername (SocketAddress *address) override ;
126126
127- /* * Register a callback on state change of the socket.
128- *
129- * @see Socket::sigio
130- * @deprecated
131- * The behavior of Socket::attach differs from other attach functions in
132- * Mbed OS and has been known to cause confusion. Replaced by Socket::sigio.
133- */
134- MBED_DEPRECATED_SINCE (" mbed-os-5.4" ,
135- " The behavior of Socket::attach differs from other attach functions in "
136- " Mbed OS and has been known to cause confusion. Replaced by Socket::sigio." )
137- void attach (mbed::Callback<void ()> func);
138-
139- /* * Register a callback on state change of the socket.
140- *
141- * @see Socket::sigio
142- * @deprecated
143- * The attach function does not support cv-qualifiers. Replaced by
144- * attach(callback(obj, method)).
145- */
146- template <typename T, typename M>
147- MBED_DEPRECATED_SINCE (" mbed-os-5.1" ,
148- " The attach function does not support cv-qualifiers. Replaced by "
149- " attach(callback(obj, method))." )
150- void attach (T *obj, M method)
151- {
152- attach (mbed::callback (obj, method));
153- }
154127
155128#if !defined(DOXYGEN_ONLY)
156129
You can’t perform that action at this time.
0 commit comments