diff options
Diffstat (limited to 'libcxx/include/__locale')
| -rw-r--r-- | libcxx/include/__locale | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libcxx/include/__locale b/libcxx/include/__locale index 21a573473a0..6103409471e 100644 --- a/libcxx/include/__locale +++ b/libcxx/include/__locale @@ -137,10 +137,10 @@ locale locale::combine(const locale& __other) const { #ifndef _LIBCPP_NO_EXCEPTIONS - if (!_STD::has_facet<_Facet>(__other)) + if (!_VSTD::has_facet<_Facet>(__other)) throw runtime_error("locale::combine: locale missing facet"); #endif // _LIBCPP_NO_EXCEPTIONS - return locale(*this, &const_cast<_Facet&>(_STD::use_facet<_Facet>(__other))); + return locale(*this, &const_cast<_Facet&>(_VSTD::use_facet<_Facet>(__other))); } template <class _Facet> @@ -292,7 +292,7 @@ bool locale::operator()(const basic_string<_CharT, _Traits, _Allocator>& __x, const basic_string<_CharT, _Traits, _Allocator>& __y) const { - return _STD::use_facet<_STD::collate<_CharT> >(*this).compare( + return _VSTD::use_facet<_VSTD::collate<_CharT> >(*this).compare( __x.data(), __x.data() + __x.size(), __y.data(), __y.data() + __y.size()) < 0; } |

