Skip to content

Commit e1b6a8e

Browse files
authored
Merge pull request #1711 from Fighter19/pr-fix-safeint3
Fix likely typo in SafeInt3.hpp, that results in error with clang 15
2 parents c5dcbb5 + 3308d97 commit e1b6a8e

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)