try fix vs16 ci

This commit is contained in:
ado 2021-02-23 21:07:02 +01:00
parent 14d67d87bd
commit b1e44ee9f8

View File

@ -175,6 +175,7 @@ bool shift_and_add_overflow(T& value, T digit, F add_last_digit_owerflow) {
#else #else
#warning "Use clang or gcc if possible for performance reasons. Define SS_NO_WARNINGS to supress warning." #warning "Use clang or gcc if possible for performance reasons. Define SS_NO_WARNINGS to supress warning."
#endif #endif
#endif
template <typename T, typename U> template <typename T, typename U>
bool shift_and_add_overflow(T& value, T digit, U is_negative) { bool shift_and_add_overflow(T& value, T digit, U is_negative) {
digit = (is_negative) ? -digit : digit; digit = (is_negative) ? -digit : digit;