diff --git a/src/error.h b/src/error.h index 89fe5bd..dae2227 100644 --- a/src/error.h +++ b/src/error.h @@ -11,12 +11,11 @@ struct Status { GenerationError, BuildError, }; - Status() = delete; Status(Code ec) noexcept; operator int() noexcept; private: - Code ec_; + Code ec_ = Code::Success; }; } // namespace cmkr::error