From 969744bfeb9661c678251c1e8646257c92117245 Mon Sep 17 00:00:00 2001 From: yhirose Date: Fri, 4 Mar 2016 16:49:15 -0500 Subject: [PATCH] Code cleanup --- httplib.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/httplib.h b/httplib.h index ad47a21..a07511d 100644 --- a/httplib.h +++ b/httplib.h @@ -13,7 +13,7 @@ #define _CRT_NONSTDC_NO_DEPRECATE #ifndef SO_SYNCHRONOUS_NONALERT -#define SO_SYNCHRONOUS_NONALERT 0x20; +#define SO_SYNCHRONOUS_NONALERT 0x20 #endif #ifndef SO_OPENTYPE #define SO_OPENTYPE 0x7008 @@ -586,12 +586,12 @@ inline void parse_query_text(const std::string& s, Map& params) #ifdef _MSC_VER class WSInit { public: - WSInit::WSInit() { + WSInit() { WSADATA wsaData; WSAStartup(0x0002, &wsaData); } - WSInit::~WSInit() { + ~WSInit() { WSACleanup(); } };