Update wincolor_sinks to be final

This commit is contained in:
Gabi Melman 2024-11-24 23:19:49 +02:00 committed by GitHub
parent 43dcb3982d
commit 873ae7c169
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -58,13 +58,13 @@ protected:
};
template <typename ConsoleMutex>
class wincolor_stdout_sink : public wincolor_sink<ConsoleMutex> {
class wincolor_stdout_sink final : public wincolor_sink<ConsoleMutex> {
public:
explicit wincolor_stdout_sink(color_mode mode = color_mode::automatic);
};
template <typename ConsoleMutex>
class wincolor_stderr_sink : public wincolor_sink<ConsoleMutex> {
class wincolor_stderr_sink final : public wincolor_sink<ConsoleMutex> {
public:
explicit wincolor_stderr_sink(color_mode mode = color_mode::automatic);
};