fix: avoid structured binding capture in Hunyuan config (#1809)

This commit is contained in:
leejet 2026-07-23 01:23:03 +08:00 committed by GitHub
parent cfd4cff2e6
commit 35fb21f3e0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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;
}