diff --git a/deps/ox/src/ox/std/error.hpp b/deps/ox/src/ox/std/error.hpp index e1412ffe..b78f298f 100644 --- a/deps/ox/src/ox/std/error.hpp +++ b/deps/ox/src/ox/std/error.hpp @@ -44,7 +44,9 @@ struct [[nodiscard]] Error { uint16_t line = 0; ErrorCode errCode = 0; - explicit constexpr Error(ErrorCode ec = 0) noexcept: errCode(ec) { + constexpr Error() noexcept = default; + + explicit constexpr Error(ErrorCode ec) noexcept: errCode(ec) { } explicit constexpr Error(const char *file, uint32_t line, ErrorCode errCode, const char *msg = nullptr) noexcept {