mirror of
https://github.com/gabime/spdlog.git
synced 2024-12-26 18:41:35 +08:00
compilation error gcc 8.5 with [-Werror=suggest-override] (#3158)
This commit is contained in:
parent
5ebfc92730
commit
a3a0c9d663
@ -40,7 +40,7 @@ public:
|
||||
|
||||
void log(const details::log_msg &msg) override;
|
||||
void flush() override;
|
||||
void set_pattern(const std::string &pattern) final;
|
||||
void set_pattern(const std::string &pattern) final override;
|
||||
void set_formatter(std::unique_ptr<spdlog::formatter> sink_formatter) override;
|
||||
|
||||
// Formatting codes
|
||||
|
@ -28,10 +28,10 @@ public:
|
||||
base_sink &operator=(const base_sink &) = delete;
|
||||
base_sink &operator=(base_sink &&) = delete;
|
||||
|
||||
void log(const details::log_msg &msg) final;
|
||||
void flush() final;
|
||||
void set_pattern(const std::string &pattern) final;
|
||||
void set_formatter(std::unique_ptr<spdlog::formatter> sink_formatter) final;
|
||||
void log(const details::log_msg &msg) final override;
|
||||
void flush() final override;
|
||||
void set_pattern(const std::string &pattern) final override;
|
||||
void set_formatter(std::unique_ptr<spdlog::formatter> sink_formatter) final override;
|
||||
|
||||
protected:
|
||||
// sink formatter
|
||||
|
Loading…
Reference in New Issue
Block a user