diff options
author | Aryadev Chavali <aryadev@aryadevchavali.com> | 2024-04-15 05:08:40 +0630 |
---|---|---|
committer | Aryadev Chavali <aryadev@aryadevchavali.com> | 2024-04-15 05:08:40 +0630 |
commit | 1e1a13e741eb286930e669f8fb0195c943243b4e (patch) | |
tree | 0bff11a2be00e7773bce91780bf2f82ecb11aed2 /asm/preprocesser.cpp | |
parent | 0e5c9340725a5ee0b419c8e61f221049ee3c542e (diff) | |
download | ovm-1e1a13e741eb286930e669f8fb0195c943243b4e.tar.gz ovm-1e1a13e741eb286930e669f8fb0195c943243b4e.tar.bz2 ovm-1e1a13e741eb286930e669f8fb0195c943243b4e.zip |
Default constructor for pp_err_t
Diffstat (limited to 'asm/preprocesser.cpp')
-rw-r--r-- | asm/preprocesser.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
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} {} |