modernize-use-override

This commit is contained in:
Daniel Chabrowski
2018-02-24 23:56:56 +01:00
parent 7f4c1bb77c
commit fb6df0512f
15 changed files with 38 additions and 42 deletions

View File

@@ -16,13 +16,12 @@ namespace spdlog
namespace sinks
{
template<class Mutex>
class ostream_sink: public base_sink<Mutex>
class ostream_sink : public base_sink<Mutex>
{
public:
explicit ostream_sink(std::ostream& os, bool force_flush=false) :_ostream(os), _force_flush(force_flush) {}
ostream_sink(const ostream_sink&) = delete;
ostream_sink& operator=(const ostream_sink&) = delete;
virtual ~ostream_sink() = default;
protected:
void _sink_it(const details::log_msg& msg) override