mirror of
https://github.com/gabime/spdlog.git
synced 2024-11-15 08:25:43 +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 log(const details::log_msg &msg) override;
|
||||||
void flush() 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;
|
void set_formatter(std::unique_ptr<spdlog::formatter> sink_formatter) override;
|
||||||
|
|
||||||
// Formatting codes
|
// Formatting codes
|
||||||
|
@ -28,10 +28,10 @@ public:
|
|||||||
base_sink &operator=(const base_sink &) = delete;
|
base_sink &operator=(const base_sink &) = delete;
|
||||||
base_sink &operator=(base_sink &&) = delete;
|
base_sink &operator=(base_sink &&) = delete;
|
||||||
|
|
||||||
void log(const details::log_msg &msg) final;
|
void log(const details::log_msg &msg) final override;
|
||||||
void flush() final;
|
void flush() final 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) final;
|
void set_formatter(std::unique_ptr<spdlog::formatter> sink_formatter) final override;
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
// sink formatter
|
// sink formatter
|
||||||
|
Loading…
Reference in New Issue
Block a user