summaryrefslogtreecommitdiff
path: root/UDPExamples/UDPDaemon.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'UDPExamples/UDPDaemon.cpp')
-rw-r--r--UDPExamples/UDPDaemon.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/UDPExamples/UDPDaemon.cpp b/UDPExamples/UDPDaemon.cpp
index 7caeb303..dea2c68c 100644
--- a/UDPExamples/UDPDaemon.cpp
+++ b/UDPExamples/UDPDaemon.cpp
@@ -147,7 +147,7 @@ public:
: server_ {new MessageServer {this}}
{
// connect up server
- connect (server_, &MessageServer::error, [this] (QString const& message) {
+ connect (server_, &MessageServer::error, [] (QString const& message) {
std::cerr << tr ("Network Error: %1").arg ( message).toStdString () << std::endl;
});
connect (server_, &MessageServer::client_opened, this, &Server::add_client);