X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fyoink;a=blobdiff_plain;f=src%2Fserializer.hh;h=8e61a622bc12e97feb4e68e95ab74e5881f6c2e5;hp=0690d6c020ef1cc4922e891f3b6b14db6ffdb7e5;hb=6dfcfbd4a612230f2037cf891dd98520cb80c997;hpb=79b5f738f2e38acb60cda7e09f54802933a17105 diff --git a/src/serializer.hh b/src/serializer.hh index 0690d6c..8e61a62 100644 --- a/src/serializer.hh +++ b/src/serializer.hh @@ -69,9 +69,9 @@ public: void flush(); - struct generator_error : std::runtime_error + struct exception : std::runtime_error { - explicit generator_error(const std::string& what_arg) : + explicit exception(const std::string& what_arg) : std::runtime_error(what_arg) {} };