X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fjson_server.h;h=f36e621f3f6fdbc23ee27d811c5213b0408b422f;hb=9d904847726295852b78b0029939d0f848793d06;hp=5d1cb049209b6f102b28aeab22f86d8726f4a675;hpb=3828baf56467224f5d44049bf1e7a7ed11f43a05;p=dcpomatic.git diff --git a/src/lib/json_server.h b/src/lib/json_server.h index 5d1cb0492..f36e621f3 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); }; - -