[libcxx-commits] [PATCH] D149593: [libc++][ranges] Fixes as_rvalue's linkage.
Mark de Wever via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Mon May 1 08:52:16 PDT 2023
Mordante created this revision.
Herald added a project: All.
Mordante requested review of this revision.
Herald added a project: libc++.
Herald added a subscriber: libcxx-commits.
Herald added a reviewer: libc++.
This was discovered while working on modules. They can't export
declarations with internal linkage.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D149593
Files:
libcxx/include/__ranges/as_rvalue_view.h
Index: libcxx/include/__ranges/as_rvalue_view.h
===================================================================
--- libcxx/include/__ranges/as_rvalue_view.h
+++ libcxx/include/__ranges/as_rvalue_view.h
@@ -125,7 +125,7 @@
} // namespace __as_rvalue
inline namespace __cpo {
-constexpr auto as_rvalue = __as_rvalue::__fn{};
+inline constexpr auto as_rvalue = __as_rvalue::__fn{};
} // namespace __cpo
} // namespace views
} // namespace ranges
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D149593.518461.patch
Type: text/x-patch
Size: 454 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20230501/613a527f/attachment.bin>
More information about the libcxx-commits
mailing list