Ticket #900: graphml.hpp.patch
File graphml.hpp.patch, 636 bytes (added by , 13 years ago) |
---|
-
graphml.hpp
old new 33 33 ///////////////////////////////////////////////////////////////////////////// 34 34 struct parse_error: public graph_exception 35 35 { 36 parse_error(const std::string& err or) {statement = "parse error: " + error;}36 parse_error(const std::string& err) {error = err; statement = "parse error: " + error;} 37 37 virtual ~parse_error() throw() {} 38 38 virtual const char* what() const throw() {return statement.c_str();} 39 39 std::string statement; 40 std::string error; 40 41 }; 41 42 42 43