From f5cf83e4b3fdf1e9ae82b00f39e45e189809c419 Mon Sep 17 00:00:00 2001 From: saturneric Date: Fri, 15 Dec 2023 17:04:59 +0800 Subject: fix: slove some issues on memory and intilizations --- src/core/function/basic/ChannelObject.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/core/function/basic/ChannelObject.h') 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 -- cgit v1.2.3