Own fork of MbedSmartRest
Dependents: MbedSmartRestMain MbedSmartRestMain
Fork of MbedSmartRest by
Revision 16:81f9e39914cf, committed 2015-03-03
- Comitter:
- xinlei
- Date:
- Tue Mar 03 14:51:54 2015 +0000
- Parent:
- 15:e30cb7ae56af
- Child:
- 17:b3a4b4bdfc59
- Commit message:
- Set all destructors to be virtual.
Changed in this revision
--- a/Aggregator.h Wed Feb 18 10:16:38 2015 +0000 +++ b/Aggregator.h Tue Mar 03 14:51:54 2015 +0000 @@ -99,7 +99,7 @@ */ Aggregator(bool = false); #endif - ~Aggregator(); + virtual ~Aggregator(); /** * Adds a record to the aggregator.
--- a/HTTPResponseFilter.h Wed Feb 18 10:16:38 2015 +0000 +++ b/HTTPResponseFilter.h Tue Mar 03 14:51:54 2015 +0000 @@ -45,7 +45,7 @@ { public: HTTPResponseFilter(AbstractDataSource& source); - ~HTTPResponseFilter(); + virtual ~HTTPResponseFilter(); char read(); uint8_t status();
--- a/MbedClient.h Wed Feb 18 10:16:38 2015 +0000 +++ b/MbedClient.h Tue Mar 03 14:51:54 2015 +0000 @@ -42,7 +42,7 @@ class MbedClient : public AbstractClient { public: MbedClient(const char*, uint16_t, uint8_t); - ~MbedClient(); + virtual ~MbedClient(); uint8_t setAuthorization(const char*, const char*); uint8_t beginRequest();
--- a/MbedDataSink.h Wed Feb 18 10:16:38 2015 +0000 +++ b/MbedDataSink.h Tue Mar 03 14:51:54 2015 +0000 @@ -42,7 +42,7 @@ { public: MbedDataSink(TCPSocketConnection& sock); - ~MbedDataSink(); + virtual ~MbedDataSink(); size_t write(char c); size_t write(void *buf, size_t length);
--- a/MbedDataSource.h Wed Feb 18 10:16:38 2015 +0000 +++ b/MbedDataSource.h Tue Mar 03 14:51:54 2015 +0000 @@ -41,7 +41,7 @@ { public: MbedDataSource(TCPSocketConnection& sock); - ~MbedDataSource(); + virtual ~MbedDataSource(); char read(); uint8_t status();
--- a/StaticData.h Wed Feb 18 10:16:38 2015 +0000 +++ b/StaticData.h Tue Mar 03 14:51:54 2015 +0000 @@ -50,7 +50,7 @@ public: StaticData(void*, size_t, bool = false); StaticData(const char*, bool = false); - ~StaticData(); + virtual ~StaticData(); size_t writeTo(AbstractDataSink&) const; size_t writtenLength() const; DataGenerator* copy() const;