This commit is contained in:
Chunting Gu
2020-02-23 12:31:20 +08:00
parent 4ddf2d5696
commit 4386c46397
5 changed files with 8 additions and 24 deletions
+1 -10
View File
@@ -5,15 +5,6 @@
#include "book_client.h"
// Memory leak detection with VLD.
#if (defined(_WIN32) || defined(_WIN64))
#if defined(_DEBUG) && defined(WEBCC_ENABLE_VLD)
#pragma message ("< include vld.h >")
#include "vld/vld.h"
#pragma comment(lib, "vld")
#endif
#endif
// -----------------------------------------------------------------------------
void PrintSeparator() {
@@ -56,7 +47,7 @@ int main(int argc, char* argv[]) {
WEBCC_LOG_INIT("", webcc::LOG_CONSOLE_FILE_OVERWRITE);
BookClient client(url);
BookClient client{ url };
PrintSeparator();