X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fjson_server.h;h=c97e496d1442c6308fa300c254834462b26cd578;hb=28111007e2e6fd62f5810be780706ae1618bd33f;hp=996b9bf79eb1077fe7db19346c2ca3ccfe7ccfa0;hpb=b1dc9c3a2f7e55c9afc5bf2d5b465371b048e14f;p=dcpomatic.git diff --git a/src/lib/json_server.h b/src/lib/json_server.h index 996b9bf79..c97e496d1 100644 --- a/src/lib/json_server.h +++ b/src/lib/json_server.h @@ -23,10 +23,10 @@ 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); };