projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove unused variable.
[dcpomatic.git]
/
src
/
lib
/
server.h
diff --git
a/src/lib/server.h
b/src/lib/server.h
index 7470814431e1c53822d8fd18e443006885506b4e..32ba8dc4b96757fe0d3938317e2fe1c0c9abff2b 100644
(file)
--- a/
src/lib/server.h
+++ b/
src/lib/server.h
@@
-28,6
+28,8
@@
#include <boost/thread/condition.hpp>
#include "log.h"
#include <boost/thread/condition.hpp>
#include "log.h"
+class Socket;
+
/** @class ServerDescription
* @brief Class to describe a server to which we can send encoding work.
*/
/** @class ServerDescription
* @brief Class to describe a server to which we can send encoding work.
*/
@@
-80,11
+82,10
@@
public:
private:
void worker_thread ();
private:
void worker_thread ();
- int process (boost::shared_ptr<
boost::asio::ip::tcp::s
ocket> socket);
+ int process (boost::shared_ptr<
S
ocket> socket);
- boost::asio::io_service _io_service;
std::vector<boost::thread *> _worker_threads;
std::vector<boost::thread *> _worker_threads;
- std::list<boost::shared_ptr<
boost::asio::ip::tcp::s
ocket> > _queue;
+ std::list<boost::shared_ptr<
S
ocket> > _queue;
boost::mutex _worker_mutex;
boost::condition _worker_condition;
Log* _log;
boost::mutex _worker_mutex;
boost::condition _worker_condition;
Log* _log;