Fixed example build errors

This commit is contained in:
yhirose 2020-08-08 00:10:08 -04:00
parent e0e5898601
commit cf084e1db1
3 changed files with 3 additions and 3 deletions

View file

@ -17,7 +17,7 @@ int main(void) {
auto scheme_host_port = "http://localhost:8080";
#endif
auto res = httplib::Client2(scheme_host_port).Get("/hi");
auto res = httplib::Client(scheme_host_port).Get("/hi");
if (res) {
cout << res->status << endl;