X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fyoink;a=blobdiff_plain;f=src%2Fdeserializer.hh;h=733ce3912f33652d20697bff046d357ba0e2581d;hp=e4248493eb09ec8b9e1a25c435d8f7e8a6dcd6e7;hb=6dfcfbd4a612230f2037cf891dd98520cb80c997;hpb=79b5f738f2e38acb60cda7e09f54802933a17105 diff --git a/src/deserializer.hh b/src/deserializer.hh index e424849..733ce39 100644 --- a/src/deserializer.hh +++ b/src/deserializer.hh @@ -61,9 +61,9 @@ public: serializable* pullNext(); void pop(); - struct parser_error : std::runtime_error + struct exception : std::runtime_error { - explicit parser_error(const std::string& what_arg) : + explicit exception(const std::string& what_arg) : std::runtime_error(what_arg) {} };