mirror of
https://github.com/gabime/spdlog.git
synced 2025-09-29 01:29:35 +08:00
Remove casting from previous commit and fix the following Klockwork issues:
1. Removing "return" from void functions. 2. Using "const" for operator= argument.
This commit is contained in:
@@ -15,7 +15,10 @@ namespace sinks
|
||||
class sink
|
||||
{
|
||||
public:
|
||||
sink() { _level = (int)level::trace; }
|
||||
sink()
|
||||
{
|
||||
_level = level::trace;
|
||||
}
|
||||
|
||||
virtual ~sink() {}
|
||||
virtual void log(const details::log_msg& msg) = 0;
|
||||
|
Reference in New Issue
Block a user