aboutsummaryrefslogtreecommitdiff
path: root/include/armnn/backends/ITensorHandle.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/armnn/backends/ITensorHandle.hpp')
-rw-r--r--include/armnn/backends/ITensorHandle.hpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/include/armnn/backends/ITensorHandle.hpp b/include/armnn/backends/ITensorHandle.hpp
index e1b80b874a..6ef0e32fb3 100644
--- a/include/armnn/backends/ITensorHandle.hpp
+++ b/include/armnn/backends/ITensorHandle.hpp
@@ -6,6 +6,8 @@
#include <armnn/MemorySources.hpp>
+#include <boost/core/ignore_unused.hpp>
+
namespace armnn
{
@@ -71,7 +73,11 @@ public:
/// \param memory base address of the memory being imported.
/// \param source source of the allocation for the memory being imported.
/// \return true on success or false on failure
- virtual bool Import(void* memory, MemorySource source) { return false; };
+ virtual bool Import(void* memory, MemorySource source)
+ {
+ boost::ignore_unused(memory, source);
+ return false;
+ };
};
}