diff options
Diffstat (limited to 'src/feature.h')
-rw-r--r-- | src/feature.h | 6 |
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) {}; }; } |