From 33490eddab385ca488b11d6d50683ddb6a18da6c Mon Sep 17 00:00:00 2001 From: Konstantinos Sideris Date: Sun, 15 Jul 2018 19:09:08 +0300 Subject: Remove the v2 namespace from the http client --- src/main.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/main.cc') diff --git a/src/main.cc b/src/main.cc index 67c98339..b776e902 100644 --- a/src/main.cc +++ b/src/main.cc @@ -200,9 +200,9 @@ main(int argc, char *argv[]) QObject::connect(&app, &QApplication::aboutToQuit, &w, [&w]() { w.saveCurrentWindowSize(); - if (http::v2::client() != nullptr) { + if (http::client() != nullptr) { nhlog::net()->debug("shutting down all I/O threads & open connections"); - http::v2::client()->close(true); + http::client()->close(true); nhlog::net()->debug("bye"); } }); -- cgit 1.5.1