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
…asTime_t
  • Loading branch information
dragonmux committed Aug 21, 2023
1 parent 8ec9109 commit a8626b7
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 @@ -330,6 +330,11 @@ namespace substrate

public:
constexpr asTime_t(const uint64_t _value) noexcept : value{_value} { }
constexpr asTime_t(const asTime_t &) noexcept = default;
constexpr asTime_t(asTime_t &&) noexcept = default;
~asTime_t() noexcept = default;
constexpr asTime_t &operator =(const asTime_t &) noexcept = default;
constexpr asTime_t &operator =(asTime_t &&) noexcept = default;

void operator ()(const consoleStream_t &stream) const noexcept final
{
Expand Down

0 comments on commit a8626b7

Please sign in to comment.