Commit 12590c20 authored by Stan Kladko's avatar Stan Kladko

Edited serverworker

parent 9e483e4b
......@@ -29,9 +29,11 @@ void ServerWorker::work() {
auto reply = parsedMsg->process();
Json::FastWriter fastWriter;
std::string replyStr = fastWriter.write(reply);
zmq::message_t replyMsg(replyStr.c_str(),replyStr.size() + 1);
worker_.send(replyMsg);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment