Numerous fixes to A/B mode so that at least it doesn't crash (#72).
[dcpomatic.git] / src / lib / server.h
index 32ba8dc4b96757fe0d3938317e2fe1c0c9abff2b..89aeca62632c3aeda94bff27b43e7fe494d6efa6 100644 (file)
@@ -76,7 +76,7 @@ private:
 class Server
 {
 public:
-       Server (Log* log);
+       Server (boost::shared_ptr<Log> log);
 
        void run (int num_threads);
 
@@ -88,5 +88,5 @@ private:
        std::list<boost::shared_ptr<Socket> > _queue;
        boost::mutex _worker_mutex;
        boost::condition _worker_condition;
-       Log* _log;
+       boost::shared_ptr<Log> _log;
 };