From 3308d97280a076327d3f2abe31253323274a7692 Mon Sep 17 00:00:00 2001 From: Fighter19 <1475802+Fighter19@users.noreply.github.com> Date: Fri, 1 Jul 2022 14:19:04 +0200 Subject: [PATCH] Fix likely typo in SafeInt3.hpp, that results in error with clang 15 --- Release/include/cpprest/details/SafeInt3.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Release/include/cpprest/details/SafeInt3.hpp b/Release/include/cpprest/details/SafeInt3.hpp index 950ac80172..e6276f949b 100644 --- a/Release/include/cpprest/details/SafeInt3.hpp +++ b/Release/include/cpprest/details/SafeInt3.hpp @@ -1574,7 +1574,7 @@ class SafeCastHelper } template - static void CastThrow(bool b, T& t) SAFEINT_CPP_THROW + static void CastThrow(T t, bool& b) SAFEINT_CPP_THROW { b = !!t; }