From d9526499d6ab53b7d13d1434f748f6f2161c2e0a Mon Sep 17 00:00:00 2001 From: Sebastien Gonzalve Date: Thu, 20 Feb 2014 22:28:03 +0100 Subject: Remove using std::XXX from headers This is a bad practice to have using in headers because it pollutes the namespace of any user of that header. --- parameter/ComponentLibrary.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'parameter/ComponentLibrary.cpp') diff --git a/parameter/ComponentLibrary.cpp b/parameter/ComponentLibrary.cpp index dc06730..1c6daa2 100644 --- a/parameter/ComponentLibrary.cpp +++ b/parameter/ComponentLibrary.cpp @@ -40,12 +40,12 @@ bool CComponentLibrary::childrenAreDynamic() const return true; } -string CComponentLibrary::getKind() const +std::string CComponentLibrary::getKind() const { return "ComponentLibrary"; } -const CComponentType* CComponentLibrary::getComponentType(const string& strName) const +const CComponentType* CComponentLibrary::getComponentType(const std::string& strName) const { return static_cast(findChild(strName)); } -- cgit v1.1