Skip to content

Commit

Permalink
Workaround Apple clang bugs in constexpr evaluation. (#829)
Browse files Browse the repository at this point in the history
  • Loading branch information
BillyONeal authored and ras0219-msft committed Aug 6, 2018
1 parent 77e184a commit 6333225
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Release/src/utilities/asyncrt_utils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand All @@ -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
{
Expand All @@ -73,7 +73,7 @@ namespace
}
};

constexpr lt_lower_ch_impl lt_lower_ch;
constexpr lt_lower_ch_impl lt_lower_ch{};
}

namespace utility
Expand Down

0 comments on commit 6333225

Please sign in to comment.