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 {