diff options
Diffstat (limited to 'parameter/ParameterBlockType.cpp')
-rw-r--r-- | parameter/ParameterBlockType.cpp | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/parameter/ParameterBlockType.cpp b/parameter/ParameterBlockType.cpp index 57cd3c0..7b01b64 100644 --- a/parameter/ParameterBlockType.cpp +++ b/parameter/ParameterBlockType.cpp @@ -30,7 +30,6 @@ */ #include "ParameterBlockType.h" #include "ParameterBlock.h" -#include <sstream> #define base CTypeElement @@ -64,7 +63,7 @@ void CParameterBlockType::populate(CElement* pElement) const for (uiChild = 0; uiChild < uiArrayLength; uiChild++) { - CParameterBlock* pChildParameterBlock = new CParameterBlock(computeChildName(uiChild), this); + CParameterBlock* pChildParameterBlock = new CParameterBlock(toString(uiChild), this); pElement->addChild(pChildParameterBlock); @@ -75,12 +74,3 @@ void CParameterBlockType::populate(CElement* pElement) const base::populate(pElement); } } - -string CParameterBlockType::computeChildName(uint32_t uiChild) -{ - ostringstream strStream; - - strStream << uiChild; - - return strStream.str(); -} |