aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Hughes <robert.hughes@arm.com>2021-02-18 10:18:15 +0000
committerKeith Davis <keith.davis@arm.com>2021-02-19 12:51:55 +0000
commitd9a7c3194c2dfab1c7d858c69b1789ae8470a72f (patch)
tree30371618a89bff89e108c3fda883a44d729289c4
parentbb512625162323eda886eab384f72c8716585f51 (diff)
downloadarmnn-d9a7c3194c2dfab1c7d858c69b1789ae8470a72f.tar.gz
Fix TransformIterator operator=
These two operator overloads were giving compile errors as they had misspelled the names of the member variables. Presumably they are not used in any of the code and not tested anywhere, and so the compilers being used on the CI decided to not report this error. I encountered this error using the MSVC compiler, but it may cause problems on others too. Change-Id: I200fc98dbd024d13dbf0e2eca2a0dcd2b0bef261 Signed-off-by: Rob Hughes <robert.hughes@arm.com>
-rw-r--r--include/armnn/utility/TransformIterator.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/armnn/utility/TransformIterator.hpp b/include/armnn/utility/TransformIterator.hpp
index d4f32c5d8a..66fee8715d 100644
--- a/include/armnn/utility/TransformIterator.hpp
+++ b/include/armnn/utility/TransformIterator.hpp
@@ -34,12 +34,12 @@ public:
TransformIterator operator=(TransformIterator const& transformIterator)
{
- return{ transformIterator.it, transformIterator.fn};
+ return { transformIterator.m_it, transformIterator.m_fn };
}
TransformIterator operator=(TransformIterator&& transformIterator)
{
- return{ transformIterator.it, transformIterator.fn};
+ return { transformIterator.m_it, transformIterator.m_fn };
}
TransformIterator operator++() {++m_it; return *this;}