Merge pull request #1711 from Fighter19/pr-fix-safeint3
Fix likely typo in SafeInt3.hpp, that results in error with clang 15
This commit is contained in:
Коммит
e1b6a8e61d
|
@ -1574,7 +1574,7 @@ public:
|
|||
}
|
||||
|
||||
template<typename E>
|
||||
static void CastThrow(bool b, T& t) SAFEINT_CPP_THROW
|
||||
static void CastThrow(T t, bool& b) SAFEINT_CPP_THROW
|
||||
{
|
||||
b = !!t;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче