Codechange: Add missing override specifiers.

This commit is contained in:
Peter Nelson
2023-04-13 07:23:18 +01:00
committed by PeterN
parent a454773a73
commit 49dae08a3b
34 changed files with 123 additions and 123 deletions

View File

@@ -1862,17 +1862,17 @@ static ContentType StringToContentType(const char *str)
/** Asynchronous callback */
struct ConsoleContentCallback : public ContentCallback {
void OnConnect(bool success)
void OnConnect(bool success) override
{
IConsolePrint(CC_DEFAULT, "Content server connection {}.", success ? "established" : "failed");
}
void OnDisconnect()
void OnDisconnect() override
{
IConsolePrint(CC_DEFAULT, "Content server connection closed.");
}
void OnDownloadComplete(ContentID cid)
void OnDownloadComplete(ContentID cid) override
{
IConsolePrint(CC_DEFAULT, "Completed download of {}.", cid);
}