Skip to content

Commit

Permalink
console: Added several missing default constructors and opertors for …
Browse files Browse the repository at this point in the history
…asInt_t
  • Loading branch information
dragonmux committed Aug 21, 2023
1 parent a8626b7 commit e01203a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions substrate/console
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,11 @@ namespace substrate

public:
constexpr asInt_t(const int_t value) noexcept : value_{value} { }
constexpr asInt_t(const asInt_t &) noexcept = default;
constexpr asInt_t(asInt_t &&) noexcept = default;
~asInt_t() noexcept = default;
constexpr asInt_t &operator =(const asInt_t &) noexcept = default;
constexpr asInt_t &operator =(asInt_t &&) noexcept = default;
void operator()(const consoleStream_t &stream) const noexcept final
{ printTo<int_t>(stream); }
};
Expand Down

0 comments on commit e01203a

Please sign in to comment.