mirror of
https://github.com/leejet/stable-diffusion.cpp.git
synced 2026-11-11 19:36:33 +00:00
fix: avoid structured binding capture in Hunyuan config (#1809)
This commit is contained in:
1 parent
cfd4cff2e6
commit
35fb21f3e0
1 file changed
+3
-1
@@ -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)) {
|
if (!starts_with(name, prefix)) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user