mirror of
https://github.com/mapnik/mapnik.git
synced 2025-12-08 20:13:09 +00:00
c++ style
This commit is contained in:
parent
ac8e22a781
commit
551f1e0c66
@ -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_;
|
||||
|
||||
@ -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())
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user