X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=src%2Fserializer.hh;h=8e61a622bc12e97feb4e68e95ab74e5881f6c2e5;hb=79becf045222f385da5a1b9eb79081f6f5266c86;hp=0690d6c020ef1cc4922e891f3b6b14db6ffdb7e5;hpb=79b5f738f2e38acb60cda7e09f54802933a17105;p=chaz%2Fyoink 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) {} };