mirror of
https://github.com/Expand-sys/CCash
synced 2025-12-16 16:12:14 +11:00
🔥 removed uneeded constructor
This commit is contained in:
parent
e112468395
commit
8935b0cb4d
2 changed files with 0 additions and 2 deletions
|
|
@ -11,5 +11,4 @@ struct Transaction
|
|||
|
||||
Transaction() noexcept;
|
||||
Transaction(const std::string &from_str, const std::string &to_str, uint32_t amount, time_t time) noexcept;
|
||||
Transaction(const std::string &from_str, const std::string &to_str, uint32_t amount) noexcept;
|
||||
};
|
||||
|
|
|
|||
|
|
@ -2,4 +2,3 @@
|
|||
|
||||
Transaction::Transaction() noexcept {};
|
||||
Transaction::Transaction(const std::string &from_str, const std::string &to_str, uint32_t amount, time_t time_val) noexcept : from(from_str), to(to_str), amount(amount), time(time_val) {}
|
||||
Transaction::Transaction(const std::string &from_str, const std::string &to_str, uint32_t amount) noexcept : from(from_str), to(to_str), amount(amount) { time = std::time(NULL); }
|
||||
Loading…
Reference in a new issue