Skip to content

Commit 3308d97

Browse files
committed
Fix likely typo in SafeInt3.hpp, that results in error with clang 15
1 parent 122d095 commit 3308d97

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Release/include/cpprest/details/SafeInt3.hpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1574,7 +1574,7 @@ class SafeCastHelper<bool, T, CastToBool>
15741574
}
15751575

15761576
template<typename E>
1577-
static void CastThrow(bool b, T& t) SAFEINT_CPP_THROW
1577+
static void CastThrow(T t, bool& b) SAFEINT_CPP_THROW
15781578
{
15791579
b = !!t;
15801580
}

0 commit comments

Comments
 (0)