File fix-boost-1.85-build.patch of Package rstudio
Adapt to https://github.com/boostorg/function/commit/af8e66d03b4366c7039a138306470567c2243130.
diff --git a/src/cpp/core/json/JsonRpc.cpp b/src/cpp/core/json/JsonRpc.cpp
index d034ffe..060f886 100644
--- a/src/cpp/core/json/JsonRpc.cpp
+++ b/src/cpp/core/json/JsonRpc.cpp
@@ -193,7 +193,7 @@ void JsonRpcResponse::setAfterResponse(
bool JsonRpcResponse::hasAfterResponse() const
{
- return afterResponse_;
+ return bool(afterResponse_);
}