From d74eaff3a48cd7ffc7e0764a9cd3825ea102b456 Mon Sep 17 00:00:00 2001 From: Amos Jeffries Date: Sun, 2 Jul 2017 11:22:53 +1200 Subject: [PATCH] Fix build on FreeBSD after rev.14180 RefCount<> does not support assignment from nullptr with C++03 --- src/http.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/http.cc b/src/http.cc index 161d58541c..c4b60e2317 100644 --- a/src/http.cc +++ b/src/http.cc @@ -1449,7 +1449,7 @@ HttpStateData::processReplyBody() Comm::ConnectionPointer serverConnectionSaved = serverConnection; fwd->unregister(serverConnection); - serverConnection = nullptr; + serverConnection = NULL; bool ispinned = false; // TODO: Rename to isOrShouldBePinned if (request->flags.pinned) { -- 2.47.2