From 7e3fbe128b825d3865b5bb207958df94fc18e3fb Mon Sep 17 00:00:00 2001 From: Ronan Abhamon Date: Mon, 21 May 2018 10:26:12 +0200 Subject: [PATCH] fix(StaticString): fix build --- include/linphone/utils/static-string.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }