X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Flog.h;h=1b7cef03891c107d979bb465ed05ef6e8700b24f;hb=e60bb3e51bd1508b149e6b8f6608f09b5196ae26;hp=f83c6a90204ef675c93a89f7b0100f760c7efe01;hpb=228fbab81a5f093e9265d565c1110582c363def3;p=dcpomatic.git diff --git a/src/lib/log.h b/src/lib/log.h index f83c6a902..1b7cef038 100644 --- a/src/lib/log.h +++ b/src/lib/log.h @@ -54,14 +54,14 @@ public: virtual std::string head_and_tail (int amount = 1024) const = 0; protected: - + /** mutex to protect the log */ mutable boost::mutex _mutex; - + private: virtual void do_log (std::string m) = 0; void config_changed (); - + /** bit-field of log types which should be put into the log (others are ignored) */ int _types; boost::signals2::scoped_connection _config_connection; @@ -87,7 +87,7 @@ public: return ""; } -private: +private: void do_log (std::string) {} };