diff options
-rw-r--r-- | parameter/Element.cpp | 9 | ||||
-rw-r--r-- | parameter/Element.h | 1 |
2 files changed, 0 insertions, 10 deletions
diff --git a/parameter/Element.cpp b/parameter/Element.cpp index f01217f..9641e92 100644 --- a/parameter/Element.cpp +++ b/parameter/Element.cpp @@ -401,15 +401,6 @@ const CElement* CElement::getChild(size_t uiIndex) const return _childArray[uiIndex]; } -CElement* CElement::getLastChild() -{ - size_t uiNbChildren = getNbChildren(); - - assert(uiNbChildren); - - return _childArray[uiNbChildren - 1]; -} - CElement* CElement::createChild(const CXmlElement& childElement, CXmlSerializingContext& serializingContext) { diff --git a/parameter/Element.h b/parameter/Element.h index c93e2c4..ebb33a3 100644 --- a/parameter/Element.h +++ b/parameter/Element.h @@ -151,7 +151,6 @@ protected: static void appendTitle(std::string& strTo, const std::string& strTitle); // Hierarchy - CElement* getLastChild(); CElement* getParent(); CElement* findAscendantOfKind(const std::string& strKind); |