From ce32a49965769034c9f96dc88e4ab488b11f649b Mon Sep 17 00:00:00 2001 From: Billy Robert O'Neal III Date: Mon, 6 Aug 2018 06:08:18 -0700 Subject: [PATCH] Workaround Apple clang bugs in constexpr evaluation. --- Release/src/utilities/asyncrt_utils.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Release/src/utilities/asyncrt_utils.cpp b/Release/src/utilities/asyncrt_utils.cpp index 893de3729b..72f12ccf10 100644 --- a/Release/src/utilities/asyncrt_utils.cpp +++ b/Release/src/utilities/asyncrt_utils.cpp @@ -51,7 +51,7 @@ namespace } }; - constexpr to_lower_ch_impl to_lower_ch; + constexpr to_lower_ch_impl to_lower_ch{}; struct eq_lower_ch_impl { @@ -62,7 +62,7 @@ namespace } }; - constexpr eq_lower_ch_impl eq_lower_ch; + constexpr eq_lower_ch_impl eq_lower_ch{}; struct lt_lower_ch_impl { @@ -73,7 +73,7 @@ namespace } }; - constexpr lt_lower_ch_impl lt_lower_ch; + constexpr lt_lower_ch_impl lt_lower_ch{}; } namespace utility