diff options
author | Jan <sentrycraft123@gmail.com> | 2024-06-22 11:59:46 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-22 11:59:46 +0200 |
commit | 3c876448164e8d611d8b3c14cff481712b5391a8 (patch) | |
tree | 4561afd04709e7ce61ed1768e10326e3d9e1195b /primedev/logging/sourceconsole.h | |
parent | 874afd95ff1bf88b602241486e39b3ecfaadd758 (diff) | |
download | NorthstarLauncher-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/logging/sourceconsole.h')
-rw-r--r-- | primedev/logging/sourceconsole.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/primedev/logging/sourceconsole.h b/primedev/logging/sourceconsole.h index 44d73843..215dae1a 100644 --- a/primedev/logging/sourceconsole.h +++ b/primedev/logging/sourceconsole.h @@ -77,7 +77,7 @@ private: {spdlog::level::off, NS::Colors::OFF.ToSourceColor()}}; 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; }; |