From 8a46452a700fa5a8d6fc3bd9308bf483cd715de1 Mon Sep 17 00:00:00 2001 From: Adam Ierymenko Date: Thu, 8 Aug 2013 09:19:36 -0400 Subject: Move template parameter in Thread to a more logical scope location. --- node/EthernetTap.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'node/EthernetTap.cpp') diff --git a/node/EthernetTap.cpp b/node/EthernetTap.cpp index b2682006..4c300d0b 100644 --- a/node/EthernetTap.cpp +++ b/node/EthernetTap.cpp @@ -187,7 +187,7 @@ EthernetTap::EthernetTap( TRACE("tap %s created",_dev); - _thread = Thread::start(this); + _thread = Thread::start(this); } #endif // __LINUX__ @@ -271,14 +271,14 @@ EthernetTap::EthernetTap( ::pipe(_shutdownSignalPipe); - _thread = Thread::start(this); + _thread = Thread::start(this); } #endif // __APPLE__ EthernetTap::~EthernetTap() { ::write(_shutdownSignalPipe[1],"\0",1); // causes thread to exit - Thread::join(_thread); + Thread::join(_thread); ::close(_fd); } -- cgit v1.2.3