diff options
Diffstat (limited to 'src/error.h')
-rw-r--r-- | src/error.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/error.h b/src/error.h index 5c0d1ee5..cffca1e5 100644 --- a/src/error.h +++ b/src/error.h @@ -42,6 +42,7 @@ static WABT_INLINE const char* GetErrorLevelName(ErrorLevel error_level) { class Error { public: + Error() : error_level(ErrorLevel::Error) {} Error(ErrorLevel error_level, Location loc, string_view message) : error_level(error_level), loc(loc), message(message.to_string()) {} |