how can i resolve this warning? Information message with warning;
char.cpp: In constructor 'switch_channel_info::switch_channel_info()':
char.cpp:7370:6: warning: 'switch_channel_info::secs' will be initialized after [-Wreorder]
7370 | int secs;
| ^~~~
char.cpp:7369:22: warning: 'DynamicCharacterPtr switch_channel_info::ch' [-Wreorder]
7369 | DynamicCharacterPtr ch;
| ^~
char.cpp:7374:2: warning: when initialized here [-Wreorder]
7374 | switch_channel_info()
The warning part is as follows.
EVENTINFO(switch_channel_info)
{
DynamicCharacterPtr ch;
int secs;
long newAddr;
WORD newPort;
switch_channel_info()
: secs(0),
ch(),
newAddr(0),
newPort(0)
{
}
};