the abstract interfaces should be private other than protected

The abstract interfaces of `class base_sink` should be private other than protected. These methods won't be invoked by any derived class.
pull/2141/head
sunlong169 4 years ago committed by GitHub
parent acbf18d0dd
commit 24117d0c36
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -38,7 +38,8 @@ protected:
// sink formatter
std::unique_ptr<spdlog::formatter> formatter_;
Mutex mutex_;
private:
virtual void sink_it_(const details::log_msg &msg) = 0;
virtual void flush_() = 0;
virtual void set_pattern_(const std::string &pattern);

Loading…
Cancel
Save