From b945d57a5acd12bda320a63eb9e45bbb7586cdde Mon Sep 17 00:00:00 2001 From: Aaron Smith Date: Mon, 16 Dec 2024 11:48:33 -0800 Subject: [PATCH] Fix "invalid conversion from 'int' to 'CURLoption'" error Use cast to 'Curloption' to fix compiler error regarding invalid conversion from 'int' to 'CURLoption'. Upstream: https://github.com/jpbarrette/curlpp/pull/178 Signed-off-by: Thomas Bonnefille --- include/curlpp/Options.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/curlpp/Options.hpp b/include/curlpp/Options.hpp index 40b64ed..292eaa7 100644 --- a/include/curlpp/Options.hpp +++ b/include/curlpp/Options.hpp @@ -308,7 +308,7 @@ namespace options typedef curlpp::OptionTrait LowSpeedLimit; typedef curlpp::OptionTrait LowSpeedTime; typedef curlpp::OptionTrait MaxConnects; - typedef curlpp::OptionTrait ClosePolicy; + typedef curlpp::OptionTrait ClosePolicy; typedef curlpp::OptionTrait FreshConnect; typedef curlpp::OptionTrait ForbidReuse; typedef curlpp::OptionTrait ConnectTimeout;