add default

self-hosting
MoAlyousef 4 years ago
parent a6239fd335
commit 0294b95cfc

@ -11,12 +11,11 @@ struct Status {
GenerationError, GenerationError,
BuildError, BuildError,
}; };
Status() = delete;
Status(Code ec) noexcept; Status(Code ec) noexcept;
operator int() noexcept; operator int() noexcept;
private: private:
Code ec_; Code ec_ = Code::Success;
}; };
} // namespace cmkr::error } // namespace cmkr::error

Loading…
Cancel
Save