aboutsummaryrefslogtreecommitdiff
path: root/src/armnn/Layer.hpp
diff options
context:
space:
mode:
authorJan Eilers <jan.eilers@arm.com>2020-04-02 13:56:54 +0100
committerJan Eilers <jan.eilers@arm.com>2020-04-10 10:11:11 +0100
commitbb446e576e120512d5752a5d6dc1ddc636f563ba (patch)
tree147d0b5f2886af208199a24704afd845a4825bf8 /src/armnn/Layer.hpp
parente5d0b93b152a26faf93538eb719d03e5b477d670 (diff)
downloadarmnn-bb446e576e120512d5752a5d6dc1ddc636f563ba.tar.gz
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 <jan.eilers@arm.com> Change-Id: Ie603fb82860fe05fee547dc78073230cc62b2e1f
Diffstat (limited to 'src/armnn/Layer.hpp')
-rw-r--r--src/armnn/Layer.hpp12
1 files changed, 6 insertions, 6 deletions
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 <armnn/Tensor.hpp>
#include <armnn/INetwork.hpp>
#include <armnn/utility/IgnoreUnused.hpp>
+#include <armnn/utility/PolymorphicDowncast.hpp>
#include <algorithm>
+#include <functional>
+#include <iostream>
+#include <list>
#include <memory>
#include <string>
#include <vector>
-#include <iostream>
-#include <functional>
-#include <list>
-#include <boost/numeric/conversion/cast.hpp>
#include <boost/cast.hpp>
namespace armnn
@@ -145,12 +145,12 @@ public:
int Connect(IInputSlot& destination) override
{
- return Connect(*boost::polymorphic_downcast<InputSlot*>(&destination));
+ return Connect(*PolymorphicDowncast<InputSlot*>(&destination));
}
void Disconnect(IInputSlot& slot) override
{
- return Disconnect(*boost::polymorphic_downcast<InputSlot*>(&slot));
+ return Disconnect(*PolymorphicDowncast<InputSlot*>(&slot));
}
unsigned int CalculateIndexOnOwner() const override;