aboutsummaryrefslogtreecommitdiff
path: root/src/feature.h
diff options
context:
space:
mode:
authorYour Name <you@example.com>2021-05-09 19:01:59 -0400
committerYour Name <you@example.com>2021-05-09 19:01:59 -0400
commite044fc4255aa64ef1dbc3d20ed87ed6e2f61a6bd (patch)
tree344c09421c5839a764a132fe9166f0e6e3f90e45 /src/feature.h
parentd13358b71ec15085f2638fd9c3fc634df62dfc94 (diff)
downloaddmtool-e044fc4255aa64ef1dbc3d20ed87ed6e2f61a6bd.tar.gz
dmtool-e044fc4255aa64ef1dbc3d20ed87ed6e2f61a6bd.tar.bz2
dmtool-e044fc4255aa64ef1dbc3d20ed87ed6e2f61a6bd.zip
Code refactoring
Diffstat (limited to 'src/feature.h')
-rw-r--r--src/feature.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/feature.h b/src/feature.h
index 5b900d2..294cf1d 100644
--- a/src/feature.h
+++ b/src/feature.h
@@ -1,5 +1,5 @@
#pragma once
-#include "json.hpp"
+#include <nlohmann/json.hpp>
#include "entry.h"
#include <memory>
@@ -8,9 +8,5 @@ namespace entry {
public:
static std::shared_ptr<Feature> create(const nlohmann::json& data);
virtual ~Feature() {}
-
- protected:
- Feature(const nlohmann::json& data) : Entry(data) {}
- Feature(const std::string& entry, const std::string& name, const std::string& type, const std::string& text) : Entry(entry, name, type, text) {};
};
}