IVGCVSW-3031 Reparent layer  to new graph

Change-Id: Ic4423b8d21d794f44ddae291853e0e3b89d11bc0
Signed-off-by: Derek Lamberti <derek.lamberti@arm.com>
diff --git a/src/backends/backendsCommon/IBackendInternal.hpp b/src/backends/backendsCommon/IBackendInternal.hpp
index f49a210..5316f68 100644
--- a/src/backends/backendsCommon/IBackendInternal.hpp
+++ b/src/backends/backendsCommon/IBackendInternal.hpp
@@ -65,7 +65,7 @@
 
     // Default implementation of OptimizeSubgraphView for backward compatibility with old API.
     // Override this method with a custom optimization implementation.
-    virtual OptimizationViews OptimizeSubgraphView(const SubgraphView& subgraph)
+    virtual OptimizationViews OptimizeSubgraphView(const SubgraphView& subgraph) const
     {
         bool attempted=false;
         SubgraphViewUniquePtr optSubgraph = OptimizeSubgraphView(subgraph, attempted);