aboutsummaryrefslogtreecommitdiffstats
path: root/src/core/GpgFunctionObject.h
diff options
context:
space:
mode:
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