From e2bfb9a513be673175244c213bf48e837e508df8 Mon Sep 17 00:00:00 2001 From: Olivier Goffart Date: Thu, 4 Apr 2024 14:32:11 +0200 Subject: [PATCH] esp-idf: fix gating of experimental feature Commit 31219223e5b9a35947b093a5661decb7342541a3 removed the optional, but didn't remove the default argument --- api/cpp/esp-idf/slint/include/slint-esp.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/cpp/esp-idf/slint/include/slint-esp.h b/api/cpp/esp-idf/slint/include/slint-esp.h index 0d299928de6..489e5f17e62 100644 --- a/api/cpp/esp-idf/slint/include/slint-esp.h +++ b/api/cpp/esp-idf/slint/include/slint-esp.h @@ -23,7 +23,7 @@ */ void slint_esp_init(slint::PhysicalSize size, esp_lcd_panel_handle_t panel, std::optional touch, - std::span buffer1 = {}, + std::span buffer1, std::optional> buffer2 = {} #ifdef SLINT_FEATURE_EXPERIMENTAL ,