Typo in joinable asserts.
authorCarl Hetherington <cth@carlh.net>
Fri, 25 Sep 2015 11:40:19 +0000 (12:40 +0100)
committerCarl Hetherington <cth@carlh.net>
Fri, 25 Sep 2015 11:40:19 +0000 (12:40 +0100)
src/lib/server.cc

index dd076a049cd01b62cc08c47d51ee90b62a8d2db6..f0b2d9816eedf581178853c72b873c8622649476 100644 (file)
@@ -39,6 +39,7 @@
 #include <libxml++/libxml++.h>
 #include <boost/algorithm/string.hpp>
 #include <boost/scoped_array.hpp>
+#include <boost/foreach.hpp>
 #include <string>
 #include <vector>
 #include <iostream>
@@ -91,7 +92,7 @@ Server::~Server ()
 
        _broadcast.io_service.stop ();
        if (_broadcast.thread) {
-               DCPOMATIC_ASSERT (_broadcast.thread->join ());
+               DCPOMATIC_ASSERT (_broadcast.thread->joinable ());
                _broadcast.thread->join ();
        }
 }