Skip to content

Commit 3a5e436

Browse files
committed
fix: Uninitialized field causing undefined behavior
1 parent 1703a94 commit 3a5e436

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • projects/Libraries/Common/include/Lodestone.Common/event

projects/Libraries/Common/include/Lodestone.Common/event/Cancellable.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
namespace lodestone::common::event {
1515
struct Cancellable {
16-
bool cancelled;
16+
bool cancelled = false;
1717
};
1818
}
1919

0 commit comments

Comments
 (0)