cristian64
6059045c59
Core: Address -Wrange-loop-construct warning.
...
The warning can be seen since 1f72403ec7 when GCC 13.3.0 is used:
```counterexample
[1540/1898] Building CXX object Source/Core/VideoCommon/CMakeFiles/videocommon.dir/TextureCacheBase.cpp.o
/w/dolphin/Source/Core/VideoCommon/TextureCacheBase.cpp: In member function 'void TextureCacheBase::ApplyMaterialToCacheEntry(const VideoCommon::MaterialResource&, TCacheEntry*)':
/w/dolphin/Source/Core/VideoCommon/TextureCacheBase.cpp:3136:19: warning: loop variable 'texture' creates a copy from type 'const VideoCommon::MaterialResource::TextureLikeReference' [-Wrange-loop-construct]
3136 | for (const auto texture : material_data->GetTextures())
| ^~~~~~~
/w/dolphin/Source/Core/VideoCommon/TextureCacheBase.cpp:3136:19: note: use reference type to prevent copying
3136 | for (const auto texture : material_data->GetTextures())
| ^~~~~~~
| &
```
2026-04-18 10:23:55 +01:00
..
2026-01-25 16:12:15 +01:00
2026-03-26 20:13:16 -05:00
2026-03-26 20:13:16 -05:00
2024-07-26 14:28:34 -07:00
2023-08-12 20:48:47 -07:00
2026-01-25 16:12:15 +01:00
2025-12-24 15:23:25 -06:00
2024-10-10 20:23:55 -07:00
2025-10-26 22:47:23 -05:00
2026-01-25 16:12:15 +01:00
2021-07-05 04:35:56 +02:00
2025-08-18 05:38:14 -07:00
2025-08-18 05:38:14 -07:00
2025-10-28 17:22:04 -05:00
2025-10-28 17:22:04 -05:00
2025-11-21 01:18:35 -06:00
2025-11-21 01:17:45 -06:00
2025-03-09 01:42:45 -06:00
2023-12-09 16:33:21 -05:00
2025-11-20 00:35:01 -06:00
2025-10-31 13:28:14 -05:00
2025-08-23 13:50:22 -05:00
2025-08-23 13:50:22 -05:00
2026-03-28 03:05:08 +00:00
2021-07-05 04:35:56 +02:00
2025-11-23 11:08:50 -06:00
2026-03-22 14:23:46 +01:00
2025-06-24 19:38:45 +01:00
2024-10-12 10:32:41 -07:00
2024-01-03 18:43:44 -06:00
2026-01-25 16:12:15 +01:00
2024-04-04 12:50:34 -07:00
2026-01-25 16:12:15 +01:00
2023-02-15 19:18:39 -08:00
2023-01-25 02:21:56 -06:00
2021-07-05 04:35:56 +02:00
2026-03-21 11:16:15 -04:00
2026-01-17 20:11:38 +01:00
2026-01-25 16:12:15 +01:00
2025-03-26 01:23:16 -05:00
2025-11-01 10:06:08 +01:00
2025-10-26 18:01:51 -07:00
2025-11-11 20:58:35 -05:00
2025-11-15 20:32:10 -06:00
2025-03-09 01:42:45 -06:00
2023-06-19 01:34:42 +03:00
2025-11-06 22:34:40 -06:00
2024-04-08 22:54:45 +03:00
2025-11-11 20:01:52 -06:00
2025-05-12 18:54:42 +02:00
2025-11-12 18:01:53 -06:00
2025-11-12 18:01:53 -06:00
2026-01-25 16:12:15 +01:00
2022-01-13 11:11:08 -08:00
2026-01-25 16:12:15 +01:00
2022-12-29 15:33:19 +01:00
2024-10-10 20:23:55 -07:00
2026-01-24 16:50:10 +01:00
2025-11-23 11:04:24 -06:00
2026-01-25 16:12:15 +01:00
2022-10-22 20:13:24 -05:00
2026-01-25 16:12:15 +01:00
2025-03-22 15:22:00 -05:00
2021-07-05 04:35:56 +02:00
2024-01-31 12:37:44 -05:00
2025-12-10 21:07:33 +00:00
2025-12-10 21:07:33 +00:00
2021-07-05 04:35:56 +02:00
2021-07-05 04:35:56 +02:00
2025-01-20 14:47:14 -06:00
2024-08-20 14:59:54 +02:00
2026-03-14 16:42:21 +02:00
2025-08-23 03:05:04 +01:00
2023-02-09 18:36:20 +13:00
2026-01-25 16:12:15 +01:00
2025-09-13 19:05:33 -05:00
2026-03-14 16:42:21 +02:00
2026-03-14 16:42:21 +02:00
2026-01-25 16:12:15 +01:00
2025-04-28 07:11:53 +03:00
2024-07-26 14:28:34 -07:00
2023-01-31 19:41:24 +13:00
2026-01-25 16:12:15 +01:00
2025-11-23 11:04:24 -06:00
2023-12-22 14:19:29 -05:00
2023-12-22 14:19:26 -05:00
2026-01-25 16:12:15 +01:00
2025-03-22 15:22:00 -05:00
2026-01-17 20:11:38 +01:00
2023-10-05 21:20:16 -05:00
2026-01-24 16:50:10 +01:00
2025-10-26 22:47:23 -05:00
2026-01-17 20:11:38 +01:00
2025-11-25 00:15:32 -06:00
2026-01-17 20:11:38 +01:00
2025-08-23 13:50:22 -05:00
2022-07-15 12:29:40 -07:00
2025-12-22 17:08:02 -05:00
2023-04-19 09:14:39 -04:00
2026-01-25 16:12:15 +01:00
2025-11-02 14:29:14 -06:00
2026-01-25 16:12:15 +01:00
2025-03-22 15:22:00 -05:00
2026-01-25 16:12:15 +01:00
2025-11-02 13:17:28 -05:00
2025-11-06 22:34:40 -06:00
2025-11-02 17:30:43 -06:00
2026-04-18 10:23:55 +01:00
2026-03-26 20:13:16 -05:00
2024-10-10 20:23:55 -07:00
2025-01-20 14:24:54 -06:00
2025-03-09 01:42:45 -06:00
2022-06-16 02:08:45 -05:00
2026-01-25 16:12:15 +01:00
2022-07-16 00:07:10 -07:00
2026-01-25 16:12:15 +01:00
2025-04-23 11:19:20 +02:00
2021-07-05 04:35:56 +02:00
2026-01-25 16:12:15 +01:00
2024-04-20 18:31:08 +02:00
2026-01-19 19:46:21 +01:00
2026-01-19 19:46:21 +01:00
2026-01-24 16:50:10 +01:00
2024-03-21 20:27:34 -05:00
2021-12-10 14:49:57 -08:00
2021-12-10 14:49:57 -08:00
2026-01-09 23:49:10 +01:00
2021-11-17 20:04:33 -08:00
2026-03-21 11:16:15 -04:00
2025-03-22 15:22:00 -05:00
2026-01-25 16:12:15 +01:00
2022-06-16 02:08:45 -05:00
2023-12-02 15:54:52 -08:00
2025-04-23 11:19:20 +02:00
2024-10-12 10:32:41 -07:00
2025-04-23 11:19:20 +02:00
2024-04-04 12:50:34 -07:00
2025-04-23 11:19:20 +02:00
2024-04-04 12:50:34 -07:00
2025-04-23 11:19:20 +02:00
2023-12-02 15:54:52 -08:00
2023-12-02 15:54:52 -08:00
2024-10-12 10:32:41 -07:00
2022-11-22 17:17:11 -08:00
2026-01-25 16:12:15 +01:00
2025-04-23 11:19:20 +02:00
2026-03-02 13:02:51 -08:00
2024-10-12 10:32:41 -07:00
2022-11-22 17:17:11 -08:00
2026-01-25 16:12:15 +01:00
2022-11-22 17:17:11 -08:00
2026-01-18 13:04:06 +01:00
2024-10-12 10:32:41 -07:00
2026-01-17 20:11:38 +01:00
2025-05-24 01:27:58 -05:00
2026-03-23 23:55:09 +01:00
2026-03-23 23:55:09 +01:00
2025-11-23 11:04:24 -06:00
2025-10-13 17:38:20 -07:00
2025-07-21 14:07:26 +09:00
2025-11-12 18:01:53 -06:00
2026-02-13 13:57:43 +01:00
2025-11-11 20:01:52 -06:00
2026-01-25 16:12:15 +01:00
2021-07-05 04:35:56 +02:00
2025-11-06 22:34:40 -06:00
2024-02-20 22:26:19 +02:00
2021-07-05 04:35:56 +02:00
2025-07-30 19:56:30 +01:00
2023-11-26 16:27:26 -06:00
2023-11-26 16:27:26 -06:00
2025-08-14 13:54:23 -07:00
2021-12-18 15:21:36 -08:00