aboutsummaryrefslogtreecommitdiffstats
path: root/src/core/function/basic/GpgFunctionObject.h
diff options
context:
space:
mode:
authorsaturneric <[email protected]>2023-12-15 09:04:59 +0000
committersaturneric <[email protected]>2023-12-15 09:04:59 +0000
commitf5cf83e4b3fdf1e9ae82b00f39e45e189809c419 (patch)
treecc7d9b764b0274cfce5830e22a1ecc23678bd091 /src/core/function/basic/GpgFunctionObject.h
parentfix: slove issues on memory and add asan support for debug (diff)
downloadGpgFrontend-f5cf83e4b3fdf1e9ae82b00f39e45e189809c419.tar.gz
GpgFrontend-f5cf83e4b3fdf1e9ae82b00f39e45e189809c419.zip
fix: slove some issues on memory and intilizations
Diffstat (limited to 'src/core/function/basic/GpgFunctionObject.h')
-rw-r--r--src/core/function/basic/GpgFunctionObject.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/function/basic/GpgFunctionObject.h b/src/core/function/basic/GpgFunctionObject.h
index dd06608d..afe81131 100644
--- a/src/core/function/basic/GpgFunctionObject.h
+++ b/src/core/function/basic/GpgFunctionObject.h
@@ -216,7 +216,8 @@ class SingletonFunctionObject : public ChannelObject {
*
* @param channel
*/
- explicit SingletonFunctionObject(int channel) : ChannelObject(channel) {}
+ explicit SingletonFunctionObject(int channel)
+ : ChannelObject(channel, typeid(T).name()) {}
/**
* @brief Destroy the Singleton Function Object object