fix: avoid structured binding capture in Hunyuan config

This commit is contained in:
leejet
2026-07-23 01:10:58 +08:00
parent cfd4cff2e6
commit d28b0e9ec2

View File

@@ -197,7 +197,9 @@ namespace Hunyuan {
}
}
for (const auto& [name, storage] : tensor_storage_map) {
for (const auto& entry : tensor_storage_map) {
const auto& name = entry.first;
const auto& storage = entry.second;
if (!starts_with(name, prefix)) {
continue;
}