X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fjson_server.h;h=c97e496d1442c6308fa300c254834462b26cd578;hb=dd9be86db6cde0afa5da0d1d1ac43b42e05dca26;hp=5d1cb049209b6f102b28aeab22f86d8726f4a675;hpb=3828baf56467224f5d44049bf1e7a7ed11f43a05;p=dcpomatic.git diff --git a/src/lib/json_server.h b/src/lib/json_server.h index 5d1cb0492..c97e496d1 100644 --- a/src/lib/json_server.h +++ b/src/lib/json_server.h @@ -18,15 +18,15 @@ */ +#include + class JSONServer { public: - JSONServer (int port); + explicit JSONServer (int port); private: void run (int port); - void handle (boost::shared_ptr socket); - void request (std::string url, boost::shared_ptr socket); + void handle (std::shared_ptr socket); + void request (std::string url, std::shared_ptr socket); }; - -