diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/profiling/IBufferWrapper.hpp | 4 | ||||
-rw-r--r-- | src/profiling/IProfilingConnection.hpp | 2 | ||||
-rw-r--r-- | src/profiling/ISendCounterPacket.hpp | 2 |
3 files changed, 7 insertions, 1 deletions
diff --git a/src/profiling/IBufferWrapper.hpp b/src/profiling/IBufferWrapper.hpp index 5128521d02..9c38ab1dc8 100644 --- a/src/profiling/IBufferWrapper.hpp +++ b/src/profiling/IBufferWrapper.hpp @@ -14,6 +14,8 @@ namespace profiling class IBufferWrapper { public: + virtual ~IBufferWrapper() {} + virtual unsigned char* Reserve(unsigned int requestedSize, unsigned int& reservedSize) = 0; virtual void Commit(unsigned int size) = 0; @@ -25,4 +27,4 @@ public: } // namespace profiling -} // namespace armnn
\ No newline at end of file +} // namespace armnn diff --git a/src/profiling/IProfilingConnection.hpp b/src/profiling/IProfilingConnection.hpp index c8387f2a83..160a4fa31d 100644 --- a/src/profiling/IProfilingConnection.hpp +++ b/src/profiling/IProfilingConnection.hpp @@ -18,6 +18,8 @@ namespace profiling class IProfilingConnection { public: + virtual ~IProfilingConnection() {} + virtual bool IsOpen() = 0; virtual void Close() = 0; diff --git a/src/profiling/ISendCounterPacket.hpp b/src/profiling/ISendCounterPacket.hpp index 7f9e192b9d..5117c5dbd5 100644 --- a/src/profiling/ISendCounterPacket.hpp +++ b/src/profiling/ISendCounterPacket.hpp @@ -18,6 +18,8 @@ class ISendCounterPacket public: using IndexValuePairsVector = std::vector<std::pair<uint16_t, uint32_t>>; + virtual ~ISendCounterPacket() {} + /// Create and write a StreamMetaDataPacket in the buffer virtual void SendStreamMetaDataPacket() = 0; |