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