Optimize memory allocation for client buffer; add VLD to detect memory on Windows.
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
#include "calc_client.h"
|
||||
|
||||
int main() {
|
||||
LOG_INIT("", webcc::LOG_CONSOLE);
|
||||
WEBCC_LOG_INIT("", webcc::LOG_CONSOLE);
|
||||
|
||||
CalcClient calc;
|
||||
|
||||
|
||||
@@ -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]);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user