aboutsummaryrefslogtreecommitdiffstats
path: root/src/core/function/CacheManager.h
diff options
context:
space:
mode:
authorsaturneric <[email protected]>2023-10-23 10:27:25 +0000
committersaturneric <[email protected]>2023-10-23 10:27:25 +0000
commit8fdeb3af49999f29e017b7f7a70bd36f020ba721 (patch)
treedb90267c3c88d488570a8e359bd511b64c5686d8 /src/core/function/CacheManager.h
parentfeat: improve project structure and add GRT for modules (diff)
downloadGpgFrontend-8fdeb3af49999f29e017b7f7a70bd36f020ba721.tar.gz
GpgFrontend-8fdeb3af49999f29e017b7f7a70bd36f020ba721.zip
perf: reduce header includes and improve build speed
Diffstat (limited to 'src/core/function/CacheManager.h')
-rw-r--r--src/core/function/CacheManager.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/core/function/CacheManager.h b/src/core/function/CacheManager.h
index 165f4266..9b063a5c 100644
--- a/src/core/function/CacheManager.h
+++ b/src/core/function/CacheManager.h
@@ -26,9 +26,11 @@
*
*/
-#ifndef GPGFRONTEND_CACHEMANAGER_H
-#define GPGFRONTEND_CACHEMANAGER_H
+#pragma once
+#include <nlohmann/json.hpp>
+#include <optional>
+#include <shared_mutex>
#include <string>
#include "core/GpgFunctionObject.h"
@@ -109,5 +111,3 @@ class GPGFRONTEND_CORE_EXPORT CacheManager
};
} // namespace GpgFrontend
-
-#endif