From 50a4e49452d09094f904a50087d7c28b7d6b2fce Mon Sep 17 00:00:00 2001 From: EntireTwix Date: Fri, 9 Jul 2021 16:42:16 -0700 Subject: [PATCH] :truck: renamed GetLog to GetLogs --- include/log.h | 2 +- src/log.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/log.h b/include/log.h index 985bed5..60e8394 100644 --- a/include/log.h +++ b/include/log.h @@ -19,7 +19,7 @@ public: std::vector data; #endif - const std::string &GetLog() noexcept; + const std::string &GetLogs() noexcept; void AddTrans(Transaction &&t) noexcept; Json::Value Serialize() const; // to be removed later }; diff --git a/src/log.cpp b/src/log.cpp index 9fc19f9..92df259 100644 --- a/src/log.cpp +++ b/src/log.cpp @@ -19,7 +19,7 @@ void Log::AddTrans(Transaction &&t) noexcept #endif } -const std::string &Log::GetLog() noexcept +const std::string &Log::GetLogs() noexcept { if (log_flag.GetChangeState()) //if there are changes {