Skip to content

Commit 3d60a12

Browse files
committed
Default-initialize controls in halp ui
1 parent af961b4 commit 3d60a12

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/halp/layout.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ struct control : item_base
7171
decltype(F) model = F;
7272
using control_member_type = halp::member_type_t<decltype(F)>;
7373
using control_value_type = decltype(control_member_type::value);
74-
control_value_type value;
74+
control_value_type value{};
7575
};
7676

7777
struct image_item_base

0 commit comments

Comments
 (0)