mirror of
https://github.com/leejet/stable-diffusion.cpp.git
synced 2026-08-10 14:16:50 +00:00
fix: avoid structured binding capture in Hunyuan config (#1809)
This commit is contained in:
parent
cfd4cff2e6
commit
35fb21f3e0
@ -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;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user