diff options
| author | Eric Fiselier <eric@efcs.ca> | 2017-04-16 02:50:40 +0000 |
|---|---|---|
| committer | Eric Fiselier <eric@efcs.ca> | 2017-04-16 02:50:40 +0000 |
| commit | 208156e88be410a58af2ab214fe2e8e390d37670 (patch) | |
| tree | 87bf316a5e48f9ed0bae79c46afe9842efb7f206 /libcxx/include/array | |
| parent | b7576b892b4385d944ba975a9ffa971c26263801 (diff) | |
| download | bcm5719-llvm-208156e88be410a58af2ab214fe2e8e390d37670.tar.gz bcm5719-llvm-208156e88be410a58af2ab214fe2e8e390d37670.zip | |
Replace _LIBCPP_HAS_NO_<C++03 feature> with _LIBCPP_CXX03_LANG in <array>
llvm-svn: 300412
Diffstat (limited to 'libcxx/include/array')
| -rw-r--r-- | libcxx/include/array | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libcxx/include/array b/libcxx/include/array index 165ffad6b8b..31f5501b9bc 100644 --- a/libcxx/include/array +++ b/libcxx/include/array @@ -316,7 +316,7 @@ get(const array<_Tp, _Size>& __a) _NOEXCEPT return __a.__elems_[_Ip]; } -#ifndef _LIBCPP_HAS_NO_RVALUE_REFERENCES +#ifndef _LIBCPP_CXX03_LANG template <size_t _Ip, class _Tp, size_t _Size> inline _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_AFTER_CXX11 @@ -336,7 +336,7 @@ get(const array<_Tp, _Size>&& __a) _NOEXCEPT return _VSTD::move(__a.__elems_[_Ip]); } -#endif // _LIBCPP_HAS_NO_RVALUE_REFERENCES +#endif // !_LIBCPP_CXX03_LANG _LIBCPP_END_NAMESPACE_STD |

