This commit is contained in:
Jean-Francois Dockes 2019-07-22 15:44:32 +02:00
parent 99ee4d456c
commit 30f37f0e23

View File

@ -59,12 +59,10 @@ public:
ConfLinkRclRep(ConfNull *conf, const string& nm,
string *sk = 0)
: m_conf(conf), m_nm(nm), m_sk(sk) /* KEEP THE POINTER, shared data */
{
}
{ }
virtual ~ConfLinkRclRep() {}
virtual bool set(const string& val)
{
virtual bool set(const string& val) {
if (!m_conf)
return false;
LOGDEB1("Setting [" << m_nm << "] value to [" << val << "]\n");
@ -73,8 +71,7 @@ public:
LOGERR("Value set failed\n" );
return ret;
}
virtual bool get(string& val)
{
virtual bool get(string& val) {
if (!m_conf)
return false;
bool ret = m_conf->get(m_nm, val, getSk());
@ -731,4 +728,3 @@ void ConfSubPanelW::restoreEmpty()
}
} // Namespace confgui