removed noreturn attribute because not supported on gcc 4.7 (issue #10)
This commit is contained in:
parent
b8d4581569
commit
d47d6bda5d
|
|
@ -75,7 +75,7 @@ public:
|
||||||
* @param connection The connection over which it was received
|
* @param connection The connection over which it was received
|
||||||
* @return bool Was it succesfully processed?
|
* @return bool Was it succesfully processed?
|
||||||
*/
|
*/
|
||||||
virtual bool process[[ noreturn ]](ConnectionImpl *connection) override
|
virtual bool process(ConnectionImpl *connection) override
|
||||||
{
|
{
|
||||||
// this is an exception
|
// this is an exception
|
||||||
throw ProtocolException("unimplemented frame type " + std::to_string(type()) + " class " + std::to_string(classID()) + " method " + std::to_string(methodID()));
|
throw ProtocolException("unimplemented frame type " + std::to_string(type()) + " class " + std::to_string(classID()) + " method " + std::to_string(methodID()));
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue