diff options
author | Jules Clero <julesx.clero@intel.com> | 2015-03-11 10:57:12 +0100 |
---|---|---|
committer | Eric Laurent <elaurent@google.com> | 2015-04-24 13:32:47 -0700 |
commit | d52ee1bfecc6e76caa280f54032e829cc22392cf (patch) | |
tree | 2801ab73372ab81fbae2d13e87ac27af3157e57c /parameter | |
parent | 01e17ac06a7066f881ff614c634a8e61429e29ef (diff) | |
download | external_parameter-framework-d52ee1bfecc6e76caa280f54032e829cc22392cf.zip external_parameter-framework-d52ee1bfecc6e76caa280f54032e829cc22392cf.tar.gz external_parameter-framework-d52ee1bfecc6e76caa280f54032e829cc22392cf.tar.bz2 |
Remove dead getRoot member function from element
Signed-off-by: Jules Clero <julesx.clero@intel.com>
Diffstat (limited to 'parameter')
-rwxr-xr-x | parameter/Element.cpp | 18 | ||||
-rw-r--r-- | parameter/Element.h | 2 |
2 files changed, 0 insertions, 20 deletions
diff --git a/parameter/Element.cpp b/parameter/Element.cpp index 4ccf149..0175084 100755 --- a/parameter/Element.cpp +++ b/parameter/Element.cpp @@ -682,24 +682,6 @@ const CElement* CElement::findChildOfKind(const string& strKind) const return NULL; } -CElement* CElement::getRoot() -{ - if (!_pParent) { - - return this; - } - return _pParent->getRoot(); -} - -const CElement* CElement::getRoot() const -{ - if (!_pParent) { - - return this; - } - return _pParent->getRoot(); -} - string CElement::getPath() const { // Take out root element from the path diff --git a/parameter/Element.h b/parameter/Element.h index 4636dbd..fb5faee 100644 --- a/parameter/Element.h +++ b/parameter/Element.h @@ -135,8 +135,6 @@ protected: CElement* getLastChild(); CElement* getParent(); CElement* findAscendantOfKind(const std::string& strKind); - CElement* getRoot(); - const CElement* getRoot() const; /** * Creates a child CElement from a child XML Element |