aboutsummaryrefslogtreecommitdiff
path: root/src/armnnTestUtils/MockBackend.cpp
diff options
context:
space:
mode:
authorMatthew Bentham <Matthew.Bentham@arm.com>2023-03-30 14:24:46 +0000
committerFrancis Murtagh <francis.murtagh@arm.com>2023-04-04 15:08:45 +0000
commitc1c5f2a519458f498934fa3f2074acc86f9f2f42 (patch)
tree74e51e323982d4aa146838520d204711c11402ed /src/armnnTestUtils/MockBackend.cpp
parent6c50b8ead459b77932408bd3920b7704a4d6235c (diff)
downloadarmnn-c1c5f2a519458f498934fa3f2074acc86f9f2f42.tar.gz
Remove GetGraph and include of Graph.hpp header from public header
Remove deprecated GetGraph() from OptimizationViews. This method has been deprecated for a long time and no backends still need it. Remove include of Graph.hpp from the public headers. Add includes elsewhere to deal with the header fallout. Signed-off-by: Matthew Bentham <matthew.bentham@arm.com> Change-Id: I8dae275a8a446d9d0e19be62684e9b3cd2fa493d
Diffstat (limited to 'src/armnnTestUtils/MockBackend.cpp')
-rw-r--r--src/armnnTestUtils/MockBackend.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/armnnTestUtils/MockBackend.cpp b/src/armnnTestUtils/MockBackend.cpp
index 7441d0c487..d95459525a 100644
--- a/src/armnnTestUtils/MockBackend.cpp
+++ b/src/armnnTestUtils/MockBackend.cpp
@@ -11,6 +11,8 @@
#include <backendsCommon/test/MockBackendId.hpp>
#include <SubgraphViewSelector.hpp>
+#include "Layer.hpp"
+
namespace armnn
{
@@ -301,4 +303,4 @@ std::unique_ptr<ICustomAllocator> MockBackend::GetDefaultAllocator() const
return std::make_unique<DefaultAllocator>();
}
-} // namespace armnn \ No newline at end of file
+} // namespace armnn