From e044fc4255aa64ef1dbc3d20ed87ed6e2f61a6bd Mon Sep 17 00:00:00 2001 From: Your Name Date: Sun, 9 May 2021 19:01:59 -0400 Subject: Code refactoring --- src/feature.h | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'src/feature.h') 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 #include "entry.h" #include @@ -8,9 +8,5 @@ namespace entry { public: static std::shared_ptr 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) {}; }; } -- cgit v1.2.3