From f54a8916ca6047b539ec1cd2001b51de689ed710 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Mon, 12 Nov 2012 14:43:04 +0100 Subject: [PATCH] Define destructor for PDU_AssocThread --- include/yazpp/pdu-assoc.h | 1 + src/yaz-pdu-assoc-thread.cpp | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/include/yazpp/pdu-assoc.h b/include/yazpp/pdu-assoc.h index 412b252..8f67b0d 100644 --- a/include/yazpp/pdu-assoc.h +++ b/include/yazpp/pdu-assoc.h @@ -74,6 +74,7 @@ class YAZ_EXPORT PDU_Assoc : public IPDU_Observable, yazpp_1::ISocketObserver { class YAZ_EXPORT PDU_AssocThread : public PDU_Assoc { public: PDU_AssocThread(yazpp_1::ISocketObservable *socketObservable); + virtual ~PDU_AssocThread(); private: void childNotify(COMSTACK cs); diff --git a/src/yaz-pdu-assoc-thread.cpp b/src/yaz-pdu-assoc-thread.cpp index 673af8d..8f70168 100644 --- a/src/yaz-pdu-assoc-thread.cpp +++ b/src/yaz-pdu-assoc-thread.cpp @@ -50,6 +50,11 @@ PDU_AssocThread::PDU_AssocThread( } +PDU_AssocThread::~PDU_AssocThread() +{ + +} + void worker::run() { yaz_log (YLOG_LOG, "thread started"); -- 1.7.10.4