aboutsummaryrefslogtreecommitdiffstats
path: root/src/core/GpgFunctionObject.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/GpgFunctionObject.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/GpgFunctionObject.h')
-rw-r--r--src/core/GpgFunctionObject.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/core/GpgFunctionObject.h b/src/core/GpgFunctionObject.h
index d0a992c6..37315b68 100644
--- a/src/core/GpgFunctionObject.h
+++ b/src/core/GpgFunctionObject.h
@@ -26,8 +26,9 @@
*
*/
-#ifndef GPGFRONTEND_ZH_CN_TS_FUNCTIONOBJECT_H
-#define GPGFRONTEND_ZH_CN_TS_FUNCTIONOBJECT_H
+#pragma once
+
+#include <shared_mutex>
#include "core/GpgFrontendCore.h"
@@ -305,5 +306,3 @@ class SingletonFunctionObject : public ChannelObject {
virtual ~SingletonFunctionObject() = default;
};
} // namespace GpgFrontend
-
-#endif // GPGFRONTEND_ZH_CN_TS_FUNCTIONOBJECT_H