Fix core build failure with GCC 8
GCC 8 warns when a polymorphic type is caught by value.
This commit is contained in:
@ -1418,7 +1418,7 @@ bool session_delay_routing(MXS_SESSION* session, MXS_DOWNSTREAM down, GWBUF* buf
|
|||||||
|
|
||||||
success = true;
|
success = true;
|
||||||
}
|
}
|
||||||
catch (std::bad_alloc)
|
catch (std::bad_alloc&)
|
||||||
{
|
{
|
||||||
MXS_OOM();
|
MXS_OOM();
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user