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/FrameworkConfigurationLocation.h | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'parameter/FrameworkConfigurationLocation.h') diff --git a/parameter/FrameworkConfigurationLocation.h b/parameter/FrameworkConfigurationLocation.h index 654e09b..56cc5f6 100644 --- a/parameter/FrameworkConfigurationLocation.h +++ b/parameter/FrameworkConfigurationLocation.h @@ -31,16 +31,18 @@ #include "KindElement.h" +#include + class CFrameworkConfigurationLocation : public CKindElement { public: - CFrameworkConfigurationLocation(const string& strName, const string& strKind); + CFrameworkConfigurationLocation(const std::string& strName, const std::string& strKind); // File path - string getFilePath(const string& strBaseFolder) const; + std::string getFilePath(const std::string& strBaseFolder) const; // Folder path - string getFolderPath(const string& strBaseFolder) const; + std::string getFolderPath(const std::string& strBaseFolder) const; // From IXmlSink virtual bool fromXml(const CXmlElement& xmlElement, CXmlSerializingContext& serializingContext); @@ -49,5 +51,5 @@ private: bool isPathRelative() const; // Path - string _strPath; + std::string _strPath; }; -- cgit v1.1