Skip to content

Commit 7ab534a

Browse files
aengusjiangAengus.Jiang
andauthored
remove_maybe-uninitialized_warnings for gcc 9.3.1 (#243)
see below: ![image](https://github.com/user-attachments/assets/01035048-08a7-4996-a76c-2e09f339803f) Co-authored-by: Aengus.Jiang <jiangyinglin@surfilter.com>
1 parent 333ac2b commit 7ab534a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils/optional.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ namespace detail {
3434
using value_type = well_behaved<T>;
3535

3636
union {
37-
char x;
37+
char x{};
3838
value_type uvalue;
3939
};
4040

0 commit comments

Comments
 (0)