deleted slaves

This commit is contained in:
malloc 2018-11-02 10:53:02 -05:00
parent 1d0a382eed
commit 9932c52494

View file

@ -10,7 +10,10 @@ namespace sosc {
class SlaveClient {
public:
SlaveClient() = delete;
explicit SlaveClient(const ScapeConnection& client);
~SlaveClient();
private:
ScapeConnection sock;
};
@ -18,7 +21,7 @@ private:
class SlaveClientPool : public Pool<SlaveClient, ctx::SlaveContext> {
protected:
bool ProcessClient
(SlaveClient& client,
(SlaveClient* client,
ctx::SlaveContext* context,
const db::Queries* queries) override
{