cpprestsdk
cpprestsdk copied to clipboard
Fix likely typo in SafeInt3.hpp, that results in error with clang 15
trafficstars
Please double check before merge. Prior to this, it resulted in following error while trying to build with the Emscripten toolchain.
[ 1%] Building CXX object Release/src/CMakeFiles/cpprest.dir/http/client/http_client.cpp.o
In file included from /cpprestsdk/Release/src/http/client/http_client.cpp:16:
In file included from /cpprestsdk/Release/src/pch/stdafx.h:73:
In file included from /cpprestsdk/Release/include/cpprest/details/basic_types.h:31:
/cpprestsdk/Release/include/cpprest/details/SafeInt3.hpp:1577:32: error: parameter 'b' set but not used [-Werror,-Wunused-but-set-parameter]
static void CastThrow(bool b, T& t) SAFEINT_CPP_THROW
Thanks. This should be merged asap.
收到,谢谢