make sure compilers dont complain about unused parameters
This commit is contained in:
parent
badc4eafa3
commit
a8a73e31b7
|
|
@ -150,6 +150,9 @@ public:
|
||||||
*/
|
*/
|
||||||
virtual bool process(ConnectionImpl *connection) override
|
virtual bool process(ConnectionImpl *connection) override
|
||||||
{
|
{
|
||||||
|
// make sure compilers dont complain about unused parameters
|
||||||
|
(void) connection;
|
||||||
|
|
||||||
// this is an exception
|
// this is an exception
|
||||||
throw ProtocolException("unimplemented frame type " + std::to_string(type()));
|
throw ProtocolException("unimplemented frame type " + std::to_string(type()));
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -95,6 +95,9 @@ public:
|
||||||
*/
|
*/
|
||||||
virtual bool process(ConnectionImpl *connection) override
|
virtual bool process(ConnectionImpl *connection) override
|
||||||
{
|
{
|
||||||
|
// make sure compilers dont complain about unused parameters
|
||||||
|
(void) connection;
|
||||||
|
|
||||||
// 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