Optimize memory allocation for client buffer; add VLD to detect memory on Windows.

This commit is contained in:
Adam Gu
2018-07-05 16:07:26 +08:00
parent 7280b09f10
commit b85377c3a3
72 changed files with 549 additions and 62 deletions
+1 -1
View File
@@ -5,7 +5,7 @@
#include "calc_client.h"
int main() {
LOG_INIT("", webcc::LOG_CONSOLE);
WEBCC_LOG_INIT("", webcc::LOG_CONSOLE);
CalcClient calc;
+1 -1
View File
@@ -17,7 +17,7 @@ int main(int argc, char* argv[]) {
return 1;
}
LOG_INIT("", webcc::LOG_CONSOLE);
WEBCC_LOG_INIT("", webcc::LOG_CONSOLE);
unsigned short port = std::atoi(argv[1]);