diff --git a/src/methodframe.h b/src/methodframe.h index 8b847fd..c435df7 100644 --- a/src/methodframe.h +++ b/src/methodframe.h @@ -75,7 +75,7 @@ public: * @param connection The connection over which it was received * @return bool Was it succesfully processed? */ - virtual bool process[[ noreturn ]](ConnectionImpl *connection) override + virtual bool process(ConnectionImpl *connection) override { // this is an exception throw ProtocolException("unimplemented frame type " + std::to_string(type()) + " class " + std::to_string(classID()) + " method " + std::to_string(methodID()));