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

@ -11,7 +11,7 @@
using namespace std;
int main(void) {
httplib::Client2("http://localhost:1234")
httplib::Client("http://localhost:1234")
.Get("/event1", [&](const char *data, size_t data_length) {
std::cout << string(data, data_length);
return true;