fixed mistake that caused undefined behaviour

This commit is contained in:
Karma Riuk
2025-07-14 20:14:39 +02:00
parent 870567ec6b
commit 97b81e6771

View File

@@ -6,6 +6,7 @@
namespace ast { namespace ast {
if_then_else::if_then_else(token::token token) if_then_else::if_then_else(token::token token)
: token(std::move(token)), : token(std::move(token)),
condition(nullptr),
consequence(nullptr), consequence(nullptr),
alternative(nullptr) {}; alternative(nullptr) {};