From bb446e576e120512d5752a5d6dc1ddc636f563ba Mon Sep 17 00:00:00 2001 From: Jan Eilers Date: Thu, 2 Apr 2020 13:56:54 +0100 Subject: IVGCVSW-4483 Remove boost::polymorphic_downcast * exchange boost::polymorphic_downcast with armnn::PolymorphicDowncast * remove unnecessary includes of boost::polymorphic_downcast Signed-off-by: Jan Eilers Change-Id: Ie603fb82860fe05fee547dc78073230cc62b2e1f --- src/armnn/Layer.hpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/armnn/Layer.hpp') diff --git a/src/armnn/Layer.hpp b/src/armnn/Layer.hpp index ec35d71082..59475231a8 100644 --- a/src/armnn/Layer.hpp +++ b/src/armnn/Layer.hpp @@ -18,16 +18,16 @@ #include #include #include +#include #include +#include +#include +#include #include #include #include -#include -#include -#include -#include #include namespace armnn @@ -145,12 +145,12 @@ public: int Connect(IInputSlot& destination) override { - return Connect(*boost::polymorphic_downcast(&destination)); + return Connect(*PolymorphicDowncast(&destination)); } void Disconnect(IInputSlot& slot) override { - return Disconnect(*boost::polymorphic_downcast(&slot)); + return Disconnect(*PolymorphicDowncast(&slot)); } unsigned int CalculateIndexOnOwner() const override; -- cgit v1.2.1