diff options
author | David Wagner <david.wagner@intel.com> | 2015-04-10 17:09:17 +0200 |
---|---|---|
committer | Eric Laurent <elaurent@google.com> | 2015-04-24 13:39:13 -0700 |
commit | 4f61e3e85203974231c7f9a1567abccfcd75485c (patch) | |
tree | cf74a645a16dcae17a5ba0e704c1ee1db7d52ba3 /parameter | |
parent | 9374f5b21a1770a42636da0171582aadce84d9ff (diff) | |
download | external_parameter-framework-4f61e3e85203974231c7f9a1567abccfcd75485c.zip external_parameter-framework-4f61e3e85203974231c7f9a1567abccfcd75485c.tar.gz external_parameter-framework-4f61e3e85203974231c7f9a1567abccfcd75485c.tar.bz2 |
Remove unsued CElement::findAscendantOfKind method
Signed-off-by: David Wagner <david.wagner@intel.com>
Diffstat (limited to 'parameter')
-rw-r--r-- | parameter/Element.cpp | 14 | ||||
-rw-r--r-- | parameter/Element.h | 1 |
2 files changed, 0 insertions, 15 deletions
diff --git a/parameter/Element.cpp b/parameter/Element.cpp index 9641e92..cacf49b 100644 --- a/parameter/Element.cpp +++ b/parameter/Element.cpp @@ -591,20 +591,6 @@ bool CElement::isDescendantOf(const CElement* pCandidateAscendant) const return _pParent->isDescendantOf(pCandidateAscendant); } -CElement* CElement::findAscendantOfKind(const string& strKind) -{ - if (!_pParent) { - - return NULL; - } - - if (_pParent->getKind() == strKind) { - - return _pParent; - } - return _pParent->findAscendantOfKind(strKind); -} - CElement* CElement::findChild(const string& strName) { uint32_t uiIndex; diff --git a/parameter/Element.h b/parameter/Element.h index ebb33a3..8423e32 100644 --- a/parameter/Element.h +++ b/parameter/Element.h @@ -152,7 +152,6 @@ protected: // Hierarchy CElement* getParent(); - CElement* findAscendantOfKind(const std::string& strKind); /** * Creates a child CElement from a child XML Element |