Skip to content

Commit 6333225

Browse files
BillyONealras0219-msft
authored andcommitted
Workaround Apple clang bugs in constexpr evaluation. (#829)
1 parent 77e184a commit 6333225

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Release/src/utilities/asyncrt_utils.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ namespace
5151
}
5252
};
5353

54-
constexpr to_lower_ch_impl to_lower_ch;
54+
constexpr to_lower_ch_impl to_lower_ch{};
5555

5656
struct eq_lower_ch_impl
5757
{
@@ -62,7 +62,7 @@ namespace
6262
}
6363
};
6464

65-
constexpr eq_lower_ch_impl eq_lower_ch;
65+
constexpr eq_lower_ch_impl eq_lower_ch{};
6666

6767
struct lt_lower_ch_impl
6868
{
@@ -73,7 +73,7 @@ namespace
7373
}
7474
};
7575

76-
constexpr lt_lower_ch_impl lt_lower_ch;
76+
constexpr lt_lower_ch_impl lt_lower_ch{};
7777
}
7878

7979
namespace utility

0 commit comments

Comments
 (0)