summaryrefslogtreecommitdiff
path: root/node/UdpSocket.cpp
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2013-08-08 09:19:36 -0400
committerAdam Ierymenko <adam.ierymenko@gmail.com>2013-08-08 09:19:36 -0400
commit8a46452a700fa5a8d6fc3bd9308bf483cd715de1 (patch)
treeef548e9fb3b2f715fed9f765120a4cc00c0a7abb /node/UdpSocket.cpp
parent20f8668c286b2991f5eb1984dde6a8a76434d12d (diff)
downloadinfinitytier-8a46452a700fa5a8d6fc3bd9308bf483cd715de1.tar.gz
infinitytier-8a46452a700fa5a8d6fc3bd9308bf483cd715de1.zip
Move template parameter in Thread to a more logical scope location.
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)