From 94e6b3da44bf381e06248a81506c3e5380084a4b Mon Sep 17 00:00:00 2001 From: EntireTwix Date: Sun, 11 Jul 2021 01:55:39 -0700 Subject: [PATCH] :bug: changed from =default --- src/transaction.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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