From 96b39bf6dbb027233850a0abbfc42341bf50c5cd Mon Sep 17 00:00:00 2001 From: Aki Date: Sat, 4 Jun 2022 13:15:33 +0200 Subject: Finalized Snapshot rename --- Snapshot.cpp | 6 +++--- Snapshot.h | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Snapshot.cpp b/Snapshot.cpp index 57f81db..99cf400 100644 --- a/Snapshot.cpp +++ b/Snapshot.cpp @@ -1,4 +1,4 @@ -#include "DumpSource.h" +#include "Snapshot.h" #include #include @@ -23,7 +23,7 @@ void from_json(const json& j, Killmail& km); NLOHMANN_DEFINE_TYPE_NON_INTRUSIVE(LongVector3, x, y, z) -DumpSource::DumpSource(const char* filename) : +Snapshot::Snapshot(const char* filename) : m_killmails {} { if (!FileExists(filename)) @@ -43,7 +43,7 @@ DumpSource::DumpSource(const char* filename) : std::vector -DumpSource::killmails() const +Snapshot::killmails() const { return m_killmails; } diff --git a/Snapshot.h b/Snapshot.h index 3c18b69..ab1b8e1 100644 --- a/Snapshot.h +++ b/Snapshot.h @@ -6,10 +6,10 @@ #include "Source.h" -class DumpSource : public Source +class Snapshot : public Source { public: - explicit DumpSource(const char* filename); + explicit Snapshot(const char* filename); std::vector killmails() const override; private: std::vector m_killmails; -- cgit v1.1