[haiku-commits] haiku: hrev51380 - src/apps/serialconnect

  • From: pulkomandy@xxxxxxxxxxxxx
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Sat, 26 Aug 2017 16:24:01 +0200 (CEST)

hrev51380 adds 1 changeset to branch 'master'
old head: b73f6bf1c9529ca84290fe548fc992e14a13ed5c
new head: f1af46a2c041ce6b4af24fd2c9cfce26dbab1bef
overview: 
http://cgit.haiku-os.org/haiku/log/?qt=range&q=f1af46a2c041+%5Eb73f6bf1c952

----------------------------------------------------------------------------

f1af46a2c041: SerialConnect: try to fix gcc5 build.

                             [ Adrien Destugues <pulkomandy@xxxxxxxxxxxxx> ]

----------------------------------------------------------------------------

Revision:    hrev51380
Commit:      f1af46a2c041ce6b4af24fd2c9cfce26dbab1bef
URL:         http://cgit.haiku-os.org/haiku/commit/?id=f1af46a2c041
Author:      Adrien Destugues <pulkomandy@xxxxxxxxxxxxx>
Date:        Sat Aug 26 14:23:55 2017 UTC

----------------------------------------------------------------------------

2 files changed, 6 insertions(+)
src/apps/serialconnect/FileSender.cpp | 5 +++++
src/apps/serialconnect/FileSender.h   | 1 +

----------------------------------------------------------------------------

diff --git a/src/apps/serialconnect/FileSender.cpp 
b/src/apps/serialconnect/FileSender.cpp
index 67100ef..05be873 100644
--- a/src/apps/serialconnect/FileSender.cpp
+++ b/src/apps/serialconnect/FileSender.cpp
@@ -13,6 +13,11 @@
 #include <SerialPort.h>
 
 
+FileSender::~FileSender()
+{
+}
+
+
 RawSender::RawSender(BDataIO* source, BSerialPort* sink, BHandler* listener)
 {
        // FIXME doing this all here in the constructor is not good. We need to
diff --git a/src/apps/serialconnect/FileSender.h 
b/src/apps/serialconnect/FileSender.h
index f3a4bbd..b5ef826 100644
--- a/src/apps/serialconnect/FileSender.h
+++ b/src/apps/serialconnect/FileSender.h
@@ -19,6 +19,7 @@ class BSerialPort;
 
 class FileSender {
        public:
+               virtual                         ~FileSender();
                virtual bool            BytesReceived(const uint8_t* data,
                                                                size_t length) 
= 0;
 };


Other related posts:

  • » [haiku-commits] haiku: hrev51380 - src/apps/serialconnect - pulkomandy