removed noreturn attribute because not supported on gcc 4.7 (issue #10)

This commit is contained in:
Emiel Bruijntjes 2014-04-14 17:17:17 +02:00
parent b8d4581569
commit d47d6bda5d
1 changed files with 1 additions and 1 deletions

View File

@ -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()));