From dd1c6536189f8f773a98d5151b4e6ab334d7f7b5 Mon Sep 17 00:00:00 2001 From: Nerixyz Date: Thu, 6 Feb 2025 17:53:47 +0100 Subject: [PATCH] fix: initialize `_hasInput` --- include/wintoastlib.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/wintoastlib.h b/include/wintoastlib.h index defd35f..d68c3b8 100644 --- a/include/wintoastlib.h +++ b/include/wintoastlib.h @@ -161,7 +161,7 @@ namespace WinToastLib { bool isInput() const; private: - bool _hasInput; + bool _hasInput{false}; std::vector _textFields{}; std::vector _actions{};