mirror of
https://github.com/gabime/spdlog.git
synced 2025-09-30 10:29:02 +08:00
Added [[nodiscard]] and made should_flush_ const
This commit is contained in:
@@ -209,7 +209,7 @@ protected:
|
||||
}
|
||||
}
|
||||
virtual void flush_();
|
||||
bool should_flush_(const details::log_msg &msg);
|
||||
[[nodiscard]] bool should_flush_(const details::log_msg &msg) const;
|
||||
|
||||
// handle errors during logging.
|
||||
// default handler prints the error to stderr at max rate of 1 message/sec.
|
||||
|
Reference in New Issue
Block a user