diff options
author | Marshall Clow <mclow.lists@gmail.com> | 2017-11-23 01:25:03 +0000 |
---|---|---|
committer | Marshall Clow <mclow.lists@gmail.com> | 2017-11-23 01:25:03 +0000 |
commit | b6ad844e136e5c5ad80db276f884e20cc0bfc0ee (patch) | |
tree | be76fd2af7ce12ed8d5b356002ffcab9a27772b7 /libcxx/include/new | |
parent | 5e5e564ca64234d79e0f8713d763c6330f01e98b (diff) | |
download | bcm5719-llvm-b6ad844e136e5c5ad80db276f884e20cc0bfc0ee.tar.gz bcm5719-llvm-b6ad844e136e5c5ad80db276f884e20cc0bfc0ee.zip |
Add [[nodiscard]] to std::async as part of P0600.
llvm-svn: 318889
Diffstat (limited to 'libcxx/include/new')
-rw-r--r-- | libcxx/include/new | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libcxx/include/new b/libcxx/include/new index 6541e021865..04355e60f2c 100644 --- a/libcxx/include/new +++ b/libcxx/include/new @@ -271,7 +271,7 @@ template <class _Tp> _LIBCPP_NODISCARD_AFTER_CXX17 inline _LIBCPP_INLINE_VISIBILITY constexpr _Tp* launder(_Tp* __p) noexcept { - return __launder(__p); + return _VSTD::__launder(__p); } #endif |