diff options
author | Rob Hughes <robert.hughes@arm.com> | 2021-02-18 10:18:15 +0000 |
---|---|---|
committer | Keith Davis <keith.davis@arm.com> | 2021-02-19 12:51:55 +0000 |
commit | d9a7c3194c2dfab1c7d858c69b1789ae8470a72f (patch) | |
tree | 30371618a89bff89e108c3fda883a44d729289c4 /include/armnn/utility/TransformIterator.hpp | |
parent | bb512625162323eda886eab384f72c8716585f51 (diff) | |
download | armnn-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>
Diffstat (limited to 'include/armnn/utility/TransformIterator.hpp')
-rw-r--r-- | include/armnn/utility/TransformIterator.hpp | 4 |
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;} |