IVGCVSW-7635 Remove deprecated code due to be removed in 23.08 (SubgraphView)

Signed-off-by: Francis Murtagh <francis.murtagh@arm.com>
Signed-off-by: Kevin May <kevin.may@arm.com>
Change-Id: I6686ad0a16ef763dbdc771c7ef792ae2890e0ab2
diff --git a/src/backends/neon/NeonBackend.cpp b/src/backends/neon/NeonBackend.cpp
index 3a398e0..a5e9ab9 100644
--- a/src/backends/neon/NeonBackend.cpp
+++ b/src/backends/neon/NeonBackend.cpp
@@ -144,18 +144,18 @@
 {
     OptimizationViews optimizationViews(modelOptions);
 
-    auto it = subgraph.endIConnectable();
+    auto it = subgraph.end();
     std::map<LayerGuid, Layer*> untouched;
 
-    while (it != subgraph.beginIConnectable())
+    while (it != subgraph.begin())
     {
         --it;
         Layer& base = *(PolymorphicDowncast<Layer*>(*it));
         untouched.insert({base.GetGuid(), &base});
     }
 
-    it = subgraph.endIConnectable();
-    while (it != subgraph.beginIConnectable())
+    it = subgraph.end();
+    while (it != subgraph.begin())
     {
         --it;
         Layer& base = *(PolymorphicDowncast<Layer*>(*it));