From 136dc563ad98589beeb18e23963e93091e2babf1 Mon Sep 17 00:00:00 2001 From: Marshall Clow Date: Tue, 2 Jan 2018 18:57:47 +0000 Subject: Temporarily revert the inlining of 'piecewise_construct' because it is exported from the dylib. git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@321663 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/utility | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/utility b/include/utility index 11d128cf4..6fa2e15d1 100644 --- a/include/utility +++ b/include/utility @@ -296,7 +296,7 @@ struct _LIBCPP_TEMPLATE_VIS piecewise_construct_t { }; #if defined(_LIBCPP_CXX03_LANG) || defined(_LIBCPP_BUILDING_UTILITY) extern const piecewise_construct_t piecewise_construct;// = piecewise_construct_t(); #else -_LIBCPP_INLINE_VAR constexpr piecewise_construct_t piecewise_construct = piecewise_construct_t(); +/* _LIBCPP_INLINE_VAR */ constexpr piecewise_construct_t piecewise_construct = piecewise_construct_t(); #endif #if defined(_LIBCPP_DEPRECATED_ABI_DISABLE_PAIR_TRIVIAL_COPY_CTOR) -- cgit v1.2.3