aboutsummaryrefslogtreecommitdiffstats
path: root/src/core/GpgConstants.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/GpgConstants.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/GpgConstants.h')
-rw-r--r--src/core/GpgConstants.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/core/GpgConstants.h b/src/core/GpgConstants.h
index 48fa37e6..477c48cc 100644
--- a/src/core/GpgConstants.h
+++ b/src/core/GpgConstants.h
@@ -26,10 +26,9 @@
*
*/
-#ifndef GPG_CONSTANTS_H
-#define GPG_CONSTANTS_H
+#pragma once
-#include <memory>
+#include <gpgme.h>
#include "GpgFrontendCore.h"
@@ -217,5 +216,3 @@ class GPGFRONTEND_CORE_EXPORT GpgConstants {
};
} // namespace GpgFrontend
-
-#endif // GPG_CONSTANTS_H