aboutsummaryrefslogtreecommitdiff
path: root/src/profiling/IBufferWrapper.hpp
diff options
context:
space:
mode:
authorMatteo Martincigh <matteo.martincigh@arm.com>2019-09-09 09:23:53 +0100
committerJim Flynn Arm <jim.flynn@arm.com>2019-09-09 11:57:00 +0000
commit2e7c885590203295782d2e92f52468e88b9b636f (patch)
tree1ba453b99f276ff3e2094e8944aaaf3223cced94 /src/profiling/IBufferWrapper.hpp
parent47d0fe98ca6ab3ba1d21b0971d3009a287974442 (diff)
downloadarmnn-2e7c885590203295782d2e92f52468e88b9b636f.tar.gz
IVGCVSW-3400 Add missing virtual destructors
* Added missing virtual destructors to recently added profiling interface classes Change-Id: Id2c4b3bb22ef233b26723d3e578477c59018fbda Signed-off-by: Matteo Martincigh <matteo.martincigh@arm.com>
Diffstat (limited to 'src/profiling/IBufferWrapper.hpp')
-rw-r--r--src/profiling/IBufferWrapper.hpp4
1 files changed, 3 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