Imported Upstream version 1.25.0
[platform/core/ml/nnfw.git] / compute / cker / include / cker / Shape.h
index 86caf7d..9269ce9 100644 (file)
@@ -156,7 +156,7 @@ public:
     const int dimensions_count = std::distance(src_iterable.begin(), src_iterable.end());
     Resize(dimensions_count);
     int32_t *data = DimsData();
-    for (auto it : src_iterable)
+    for (auto &&it : src_iterable)
     {
       *data = it;
       ++data;