diff --git a/include/linphone/utils/static-string.h b/include/linphone/utils/static-string.h index 67b20884f..de5bae91f 100644 --- a/include/linphone/utils/static-string.h +++ b/include/linphone/utils/static-string.h @@ -112,7 +112,7 @@ namespace Private { private: template - static bool testInt (T n) { + static constexpr bool testInt (T n) { // Do not use it directly in the two enable_if below. (MSVC 2015 bug.) return n < 0; }