MXS-1220: Make the parameters of the diagnostic entry points const
The diagnostic entry points should not modify the state of the object being diagnosed.
This commit is contained in:
committed by
Markus Mäkelä
parent
c17c451fb5
commit
076599ee5e
@ -22,7 +22,7 @@ class HintRouter : public maxscale::Router<HintRouter, HintRouterSession>
|
||||
public:
|
||||
static HintRouter* create(SERVICE* pService, char** pzOptions);
|
||||
HintRouterSession* newSession(MXS_SESSION *pSession);
|
||||
json_t* diagnostics();
|
||||
json_t* diagnostics() const;
|
||||
uint64_t getCapabilities() const
|
||||
{
|
||||
return RCAP_TYPE_NONE;
|
||||
|
||||
Reference in New Issue
Block a user