Adorn make_unique with visibility and inline attributes
llvm-svn: 185468
Cr-Mirrored-From: sso://chromium.googlesource.com/_direct/external/github.com/llvm/llvm-project
Cr-Mirrored-Commit: 95ddb5304913492c695620c30ffda361d21ffca0
diff --git a/include/memory b/include/memory
index ad4b5d3..758e364 100644
--- a/include/memory
+++ b/include/memory
@@ -3104,6 +3104,7 @@
};
template<class _Tp, class... _Args>
+inline _LIBCPP_INLINE_VISIBILITY
typename __unique_if<_Tp>::__unique_single
make_unique(_Args&&... __args)
{
@@ -3111,6 +3112,7 @@
}
template<class _Tp>
+inline _LIBCPP_INLINE_VISIBILITY
typename __unique_if<_Tp>::__unique_array_unknown_bound
make_unique(size_t __n)
{