Skip to content

Commit fe30409

Browse files
authored
Make headers partially usable with LLVM/libc++ 13 (#1257)
1 parent 0214f2f commit fe30409

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

strings/base_string.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -642,6 +642,7 @@ WINRT_EXPORT namespace winrt
642642
return impl::hstring_convert(value);
643643
}
644644

645+
#if !defined(_LIBCPP_VERSION) || _LIBCPP_VERSION >= 14000
645646
inline hstring to_hstring(float value)
646647
{
647648
return impl::hstring_convert(value);
@@ -651,6 +652,7 @@ WINRT_EXPORT namespace winrt
651652
{
652653
return impl::hstring_convert(value);
653654
}
655+
#endif
654656

655657
inline hstring to_hstring(char16_t value)
656658
{

0 commit comments

Comments
 (0)