c++ style

This commit is contained in:
Dane Springmeyer 2012-09-03 10:52:36 -07:00
parent ac8e22a781
commit 551f1e0c66
2 changed files with 4 additions and 4 deletions

View File

@ -39,8 +39,8 @@ public:
virtual const char * what() const throw();
void append_context(const std::string & ctx) const;
void append_context(const std::string & ctx, xml_node const& node) const;
void append_context(std::string const& ctx) const;
void append_context(std::string const& ctx, xml_node const& node) const;
void append_context(xml_node const& node) const;
protected:
mutable std::string what_;

View File

@ -57,7 +57,7 @@ public:
{
}
void load(const std::string & filename, xml_node &node)
void load(std::string const& filename, xml_node &node)
{
filename_ = filename;
std::basic_ifstream<char> stream(filename.c_str());
@ -101,7 +101,7 @@ public:
}
}
void load_string(const std::string & buffer, xml_node &node, std::string const & base_path )
void load_string(std::string const& buffer, xml_node &node, std::string const & base_path )
{
// if (!base_path.empty())