aboutsummaryrefslogtreecommitdiffstats
path: root/src/core/function/basic/ChannelObject.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/ChannelObject.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/ChannelObject.h')
-rw-r--r--src/core/function/basic/ChannelObject.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/function/basic/ChannelObject.h b/src/core/function/basic/ChannelObject.h
index 6fb315ae..18317ee2 100644
--- a/src/core/function/basic/ChannelObject.h
+++ b/src/core/function/basic/ChannelObject.h
@@ -55,7 +55,7 @@ class GPGFRONTEND_CORE_EXPORT ChannelObject {
*
* @param channel
*/
- explicit ChannelObject(int channel);
+ explicit ChannelObject(int channel, std::string type);
/**
* @brief Get the Default Channel object
@@ -80,6 +80,7 @@ class GPGFRONTEND_CORE_EXPORT ChannelObject {
private:
int channel_ = kGpgFrontendDefaultChannel; ///< The channel id
+ std::string type_;
};
template <typename Derived>