summaryrefslogtreecommitdiff
path: root/node/UdpSocket.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'node/UdpSocket.cpp')
-rw-r--r--node/UdpSocket.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/node/UdpSocket.cpp b/node/UdpSocket.cpp
index 12a0a989..d1eb87d6 100644
--- a/node/UdpSocket.cpp
+++ b/node/UdpSocket.cpp
@@ -120,7 +120,7 @@ UdpSocket::UdpSocket(
}
}
- _thread = Thread<UdpSocket>::start(this);
+ _thread = Thread::start(this);
}
UdpSocket::~UdpSocket()
@@ -131,7 +131,7 @@ UdpSocket::~UdpSocket()
::shutdown(s,SHUT_RDWR);
::close(s);
}
- Thread<UdpSocket>::join(_thread);
+ Thread::join(_thread);
}
bool UdpSocket::send(const InetAddress &to,const void *data,unsigned int len,int hopLimit)