From a2b131bf4680f83b10a7e3544b6183279d8c2691 Mon Sep 17 00:00:00 2001 From: SiCong Li Date: Fri, 4 Nov 2022 10:11:32 +0000 Subject: Fix compiler warnings in dynamic fusion Resolves: COMPMID-5686 Change-Id: I608c359583c44f2f04f29faddd1c6b38a381de60 Signed-off-by: SiCong Li Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/8562 Benchmark: Arm Jenkins Reviewed-by: Jakub Sujak Reviewed-by: Gunes Bayir Comments-Addressed: Arm Jenkins Tested-by: Arm Jenkins --- examples/dynamic_fusion/cl_fused_conv2d_elementwise_add.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'examples') diff --git a/examples/dynamic_fusion/cl_fused_conv2d_elementwise_add.cpp b/examples/dynamic_fusion/cl_fused_conv2d_elementwise_add.cpp index 8aee67e8a4..afbc55777b 100644 --- a/examples/dynamic_fusion/cl_fused_conv2d_elementwise_add.cpp +++ b/examples/dynamic_fusion/cl_fused_conv2d_elementwise_add.cpp @@ -348,7 +348,7 @@ public: void do_teardown() override { - for(auto m : measurements) + for(const auto &m : measurements) { std::cout << m.first << ": " << m.second.count() << "us" << std::endl; } @@ -389,4 +389,4 @@ int main(int argc, char **argv) #undef TICK #undef TOCK #undef TOCK_AVG -#endif /* ENABLE_EXPERIMENTAL_DYNAMIC_FUSION */ \ No newline at end of file +#endif /* ENABLE_EXPERIMENTAL_DYNAMIC_FUSION */ -- cgit v1.2.1