diff options
Diffstat (limited to 'src/backends/cl')
-rw-r--r-- | src/backends/cl/ClTensorHandleFactory.cpp | 2 | ||||
-rw-r--r-- | src/backends/cl/ClTensorHandleFactory.hpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/backends/cl/ClTensorHandleFactory.cpp b/src/backends/cl/ClTensorHandleFactory.cpp index 47e36b3c76..87ecdfe1ba 100644 --- a/src/backends/cl/ClTensorHandleFactory.cpp +++ b/src/backends/cl/ClTensorHandleFactory.cpp @@ -68,7 +68,7 @@ const FactoryId& ClTensorHandleFactory::GetIdStatic() return s_Id; } -const FactoryId ClTensorHandleFactory::GetId() const +const FactoryId& ClTensorHandleFactory::GetId() const { return GetIdStatic(); } diff --git a/src/backends/cl/ClTensorHandleFactory.hpp b/src/backends/cl/ClTensorHandleFactory.hpp index 9ae1edcebc..7c3b49bee5 100644 --- a/src/backends/cl/ClTensorHandleFactory.hpp +++ b/src/backends/cl/ClTensorHandleFactory.hpp @@ -35,7 +35,7 @@ public: static const FactoryId& GetIdStatic(); - const FactoryId GetId() const override; + const FactoryId& GetId() const override; bool SupportsSubTensors() const override; |