Ticket #900: graphml.hpp.patch

File graphml.hpp.patch, 636 bytes (added by Jeremiah Willcock, 13 years ago)
  • graphml.hpp

    old new  
    3333/////////////////////////////////////////////////////////////////////////////
    3434struct parse_error: public graph_exception
    3535{
    36     parse_error(const std::string& error) {statement = "parse error: " + error;}       
     36    parse_error(const std::string& err) {error = err; statement = "parse error: " + error;}       
    3737    virtual ~parse_error() throw() {}
    3838    virtual const char* what() const throw() {return statement.c_str();}
    3939    std::string statement;
     40    std::string error;
    4041};
    4142
    4243