aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSaturneric <[email protected]>2022-05-20 18:08:01 +0000
committerSaturneric <[email protected]>2022-05-20 18:08:01 +0000
commitb803f3339c9f67d980252dbe9730b57f04204e67 (patch)
tree441febb78d1e1dbe7736378e28fcb8d2e64b0f39
parentrefactor: change version checking to task (diff)
downloadGpgFrontend-b803f3339c9f67d980252dbe9730b57f04204e67.tar.gz
GpgFrontend-b803f3339c9f67d980252dbe9730b57f04204e67.zip
pref: improve compiling speed
-rw-r--r--src/core/GpgFrontendCore.h3
-rw-r--r--src/core/function/DataObjectOperator.h4
2 files changed, 4 insertions, 3 deletions
diff --git a/src/core/GpgFrontendCore.h b/src/core/GpgFrontendCore.h
index db3339c3..0b433b96 100644
--- a/src/core/GpgFrontendCore.h
+++ b/src/core/GpgFrontendCore.h
@@ -66,6 +66,9 @@
#include <libarchive/libarchive/archive.h>
#include <libarchive/libarchive/archive_entry.h>
+// json includes
+#include <nlohmann/json.hpp>
+
// dll export macro
#include "GpgFrontendCoreExport.h"
diff --git a/src/core/function/DataObjectOperator.h b/src/core/function/DataObjectOperator.h
index 1b52ec32..97abc607 100644
--- a/src/core/function/DataObjectOperator.h
+++ b/src/core/function/DataObjectOperator.h
@@ -29,8 +29,6 @@
#ifndef GPGFRONTEND_DATAOBJECTOPERATOR_H
#define GPGFRONTEND_DATAOBJECTOPERATOR_H
-#include <json/single_include/nlohmann/json.hpp>
-
#include "core/GpgFrontendCore.h"
#include "core/GpgFunctionObject.h"
#include "core/function/GlobalSettingStation.h"
@@ -38,7 +36,7 @@
namespace GpgFrontend {
class GPGFRONTEND_CORE_EXPORT DataObjectOperator
- : public SingletonFunctionObject<DataObjectOperator> {
+ : public SingletonFunctionObject<DataObjectOperator> {
public:
/**
* @brief DataObjectOperator constructor