From d0ad098661b141b818e592f9369dcf00f0de8cc9 Mon Sep 17 00:00:00 2001 From: Lukas Matena Date: Tue, 20 Oct 2020 17:55:32 +0200 Subject: [PATCH] Fix debug build --- src/slic3r/Utils/Http.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/slic3r/Utils/Http.cpp b/src/slic3r/Utils/Http.cpp index 44939bf07d..cd8d3fc446 100644 --- a/src/slic3r/Utils/Http.cpp +++ b/src/slic3r/Utils/Http.cpp @@ -395,7 +395,7 @@ Http::Http(Http &&other) : p(std::move(other.p)) {} Http::~Http() { - assert(! p->putFile); + assert(! p || ! p->putFile); if (p && p->io_thread.joinable()) { p->io_thread.detach(); }