From 1e1a13e741eb286930e669f8fb0195c943243b4e Mon Sep 17 00:00:00 2001 From: Aryadev Chavali Date: Mon, 15 Apr 2024 05:08:40 +0630 Subject: Default constructor for pp_err_t --- asm/preprocesser.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'asm/preprocesser.cpp') diff --git a/asm/preprocesser.cpp b/asm/preprocesser.cpp index aae1f0b..8ac091b 100644 --- a/asm/preprocesser.cpp +++ b/asm/preprocesser.cpp @@ -169,6 +169,10 @@ std::ostream &operator<<(std::ostream &os, pp_err_t &err) return os; } +pp_err_t::pp_err_t() + : reference{nullptr}, type{pp_err_type_t::OK}, lerr{lerr_t::OK} +{} + pp_err_t::pp_err_t(pp_err_type_t e) : reference{nullptr}, type{e}, lerr{lerr_t::OK} {} -- cgit v1.2.3-13-gbd6f