diff options
author | David Wagner <david.wagner@intel.com> | 2015-01-06 14:57:57 +0100 |
---|---|---|
committer | David Wagner <david.wagner@intel.com> | 2015-01-22 12:02:31 +0100 |
commit | 4832db35864949f0792087f82babe353223c173b (patch) | |
tree | 504719fdb71ca90650877f71aa99b955c670072f /parameter | |
parent | d39b189e045353199ad852aaf2816c93864c7e88 (diff) | |
download | external_parameter-framework-4832db35864949f0792087f82babe353223c173b.zip external_parameter-framework-4832db35864949f0792087f82babe353223c173b.tar.gz external_parameter-framework-4832db35864949f0792087f82babe353223c173b.tar.bz2 |
ParameterMgr: fix some return values types
Some public methods returned a "CCommandHandler" enum value type, which is
intended to be used in the remote tuning methods only. Primitive bools must be
used instead.
Change-Id: Iac7a565f701c65875b3f1dd0896bf31d7d843d72
Signed-off-by: David Wagner <david.wagner@intel.com>
Diffstat (limited to 'parameter')
-rw-r--r-- | parameter/ParameterMgr.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/parameter/ParameterMgr.cpp b/parameter/ParameterMgr.cpp index 1f38c50..9e2abed 100644 --- a/parameter/ParameterMgr.cpp +++ b/parameter/ParameterMgr.cpp @@ -2066,7 +2066,7 @@ bool CParameterMgr::removeConfigurableElementFromDomain(const string& strDomain, if (!elementLocator.locate(strConfigurableElementPath, &pLocatedElement, strError)) { - return CCommandHandler::EFailed; + return false; } // Convert element @@ -2090,7 +2090,7 @@ bool CParameterMgr::split(const string& strDomain, const string& strConfigurable if (!elementLocator.locate(strConfigurableElementPath, &pLocatedElement, strError)) { - return CCommandHandler::EFailed; + return false; } // Convert element |