diff --git a/src/transaction.cpp b/src/transaction.cpp index ebf35ef..1d95895 100644 --- a/src/transaction.cpp +++ b/src/transaction.cpp @@ -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); } \ No newline at end of file