summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--Snapshot.cpp6
-rw-r--r--Snapshot.h4
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 <ctime>
#include <sstream>
@@ -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<Killmail>
-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<Killmail> killmails() const override;
private:
std::vector<Killmail> m_killmails;