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. --- xmlserializer/XmlFileDocSource.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'xmlserializer/XmlFileDocSource.h') diff --git a/xmlserializer/XmlFileDocSource.h b/xmlserializer/XmlFileDocSource.h index b8b0c6b..f7b2e30 100644 --- a/xmlserializer/XmlFileDocSource.h +++ b/xmlserializer/XmlFileDocSource.h @@ -49,11 +49,11 @@ public: * @param[in] strNameAttributeName a string containing the name of the root name attribute * @param[in] bValidateWithSchema a boolean that toggles schema validation */ - CXmlFileDocSource(const string& strXmlInstanceFile, - const string& strXmlSchemaFile, - const string& strRootElementType, - const string& strRootElementName, - const string& strNameAttrituteName, + CXmlFileDocSource(const std::string& strXmlInstanceFile, + const std::string& strXmlSchemaFile, + const std::string& strRootElementType, + const std::string& strRootElementName, + const std::string& strNameAttrituteName, bool bValidateWithSchema); /** * Constructor @@ -63,7 +63,7 @@ public: * @param[in] strRootElementType a string containing the root element type * @param[in] bValidateWithSchema a boolean that toggles schema validation */ - CXmlFileDocSource(const string& strXmlInstanceFile, const string& strXmlSchemaFile, const string& strRootElementType, + CXmlFileDocSource(const std::string& strXmlInstanceFile, const std::string& strXmlSchemaFile, const std::string& strRootElementType, bool bValidateWithSchema); /** @@ -95,10 +95,10 @@ private: * * @return a pointer to generated xml document object */ - static _xmlDoc* readFile(const string& strFileName); + static _xmlDoc* readFile(const std::string& strFileName); /** * Instance file */ - string _strXmlInstanceFile; + std::string _strXmlInstanceFile; }; -- cgit v1.1