add default

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

@ -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

Loading…
Cancel
Save