mirror of
https://github.com/ddnet/ddnet.git
synced 2024-09-20 01:24:18 +00:00
Don't access static ConCommandStatus with a member
Fixes this clang-tidy 19 warning ``` /home/chiller/Desktop/git/ddnet/src/engine/shared/console.cpp:739:2: error: static member accessed through instance [readability-static-accessed-through-instance,-warnings-as-errors] 739 | pConsole->ConCommandStatus(&Result, pConsole); | ^~~~~~~~~~ | CConsole:: ```
This commit is contained in:
parent
c727b87601
commit
3c606dd1e4
|
@ -736,7 +736,7 @@ void CConsole::ConUserCommandStatus(IResult *pResult, void *pUser)
|
|||
str_from_int((int)IConsole::ACCESS_LEVEL_USER, aBuf);
|
||||
Result.AddArgument(aBuf);
|
||||
|
||||
pConsole->ConCommandStatus(&Result, pConsole);
|
||||
CConsole::ConCommandStatus(&Result, pConsole);
|
||||
}
|
||||
|
||||
void CConsole::TraverseChain(FCommandCallback *ppfnCallback, void **ppUserData)
|
||||
|
|
Loading…
Reference in a new issue