mirror of
https://github.com/leejet/stable-diffusion.cpp.git
synced 2026-07-23 11:20:53 -05:00
fix: avoid structured binding capture in Hunyuan config
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user