diff options
| author | Carl Hetherington <cth@carlh.net> | 2015-09-25 12:40:19 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2015-09-25 12:40:19 +0100 |
| commit | 86b6bee8957d6ec010d235f1ae83f1ec33a646c1 (patch) | |
| tree | 0cd9ac29379e41b663c474fe718c3e39ed4aec6b /src/lib/server.cc | |
| parent | e975b14d2c962eab149f56a79c35b68b608226d4 (diff) | |
Typo in joinable asserts.
Diffstat (limited to 'src/lib/server.cc')
| -rw-r--r-- | src/lib/server.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/server.cc b/src/lib/server.cc index dd076a049..f0b2d9816 100644 --- a/src/lib/server.cc +++ b/src/lib/server.cc @@ -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 (); } } |
