summaryrefslogtreecommitdiff
path: root/src/lib/log.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2018-11-26 01:22:06 +0000
committerCarl Hetherington <cth@carlh.net>2018-11-26 01:22:06 +0000
commitb1aae1f32e72cd96768d6134ef62fd4b45a9bd54 (patch)
tree5fde83efa2e96ec58a85688168dfd439fc4aa363 /src/lib/log.cc
parente2e5928f1056cfc555a87060592aaf20fcdbcf4f (diff)
Don't access Config from the static creation of dcpomatic_log.
Diffstat (limited to 'src/lib/log.cc')
-rw-r--r--src/lib/log.cc7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/lib/log.cc b/src/lib/log.cc
index e3ffd1cad..7851c133f 100644
--- a/src/lib/log.cc
+++ b/src/lib/log.cc
@@ -38,14 +38,7 @@ using boost::shared_ptr;
Log::Log ()
: _types (0)
{
- _config_connection = Config::instance()->Changed.connect (boost::bind (&Log::config_changed, this));
- config_changed ();
-}
-void
-Log::config_changed ()
-{
- set_types (Config::instance()->log_types ());
}
void