From 5d6142355f4b54c255909d89f40c3776f4872f48 Mon Sep 17 00:00:00 2001 From: thxCode Date: Sat, 23 Nov 2024 23:54:21 +0800 Subject: [PATCH] fix: failed to build in c11 Signed-off-by: thxCode --- llama-box/stablediffusion.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llama-box/stablediffusion.hpp b/llama-box/stablediffusion.hpp index 5bc801f..88c5438 100644 --- a/llama-box/stablediffusion.hpp +++ b/llama-box/stablediffusion.hpp @@ -163,7 +163,7 @@ stablediffusion_sampling_stream *stablediffusion_context::generate_stream(const } return new stablediffusion_sampling_stream{ - .stream = stream, + stream, }; }