mirror of
https://github.com/Expand-sys/CCash
synced 2025-12-17 00:22:14 +11:00
🐛 changed from =default
This commit is contained in:
parent
f7dbd4c3e0
commit
94e6b3da44
1 changed files with 1 additions and 1 deletions
|
|
@ -1,5 +1,5 @@
|
|||
#include "transaction.h"
|
||||
|
||||
Transaction::Transaction() noexcept = default;
|
||||
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