aboutsummaryrefslogtreecommitdiff
path: root/primedev/dedicated/dedicatedlogtoclient.h
diff options
context:
space:
mode:
authorJan <sentrycraft123@gmail.com>2024-06-22 11:59:46 +0200
committerGitHub <noreply@github.com>2024-06-22 11:59:46 +0200
commit3c876448164e8d611d8b3c14cff481712b5391a8 (patch)
tree4561afd04709e7ce61ed1768e10326e3d9e1195b /primedev/dedicated/dedicatedlogtoclient.h
parent874afd95ff1bf88b602241486e39b3ecfaadd758 (diff)
downloadNorthstarLauncher-3c876448164e8d611d8b3c14cff481712b5391a8.tar.gz
NorthstarLauncher-3c876448164e8d611d8b3c14cff481712b5391a8.zip
Add overrides to `custom_sink_it_` methods (#708)
the compiler knows we want to override here, since the original `custom_sink_it_` is virtual but we should be explicit to prevent any mistakes.
Diffstat (limited to 'primedev/dedicated/dedicatedlogtoclient.h')
-rw-r--r--primedev/dedicated/dedicatedlogtoclient.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/primedev/dedicated/dedicatedlogtoclient.h b/primedev/dedicated/dedicatedlogtoclient.h
index 82f4c56b..5678982e 100644
--- a/primedev/dedicated/dedicatedlogtoclient.h
+++ b/primedev/dedicated/dedicatedlogtoclient.h
@@ -5,7 +5,7 @@
class DedicatedServerLogToClientSink : public CustomSink
{
protected:
- void custom_sink_it_(const custom_log_msg& msg);
+ void custom_sink_it_(const custom_log_msg& msg) override;
void sink_it_(const spdlog::details::log_msg& msg) override;
void flush_() override;
};