mirror of
https://github.com/llvm-mirror/libcxx.git
synced 2025-10-23 18:38:30 +08:00
Fix DLL build by removing _LIBCPP_FUNC_VIS from member of class marked dllexport
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@292185 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -3751,8 +3751,8 @@ public:
|
|||||||
: __shared_owners_(__refs) {}
|
: __shared_owners_(__refs) {}
|
||||||
|
|
||||||
#ifdef _LIBCPP_BUILDING_MEMORY
|
#ifdef _LIBCPP_BUILDING_MEMORY
|
||||||
_LIBCPP_FUNC_VIS void __add_shared() _NOEXCEPT;
|
void __add_shared() _NOEXCEPT;
|
||||||
_LIBCPP_FUNC_VIS bool __release_shared() _NOEXCEPT;
|
bool __release_shared() _NOEXCEPT;
|
||||||
#else
|
#else
|
||||||
_LIBCPP_INLINE_VISIBILITY
|
_LIBCPP_INLINE_VISIBILITY
|
||||||
void __add_shared() _NOEXCEPT {
|
void __add_shared() _NOEXCEPT {
|
||||||
@@ -3788,9 +3788,9 @@ protected:
|
|||||||
|
|
||||||
public:
|
public:
|
||||||
#ifdef _LIBCPP_BUILDING_MEMORY
|
#ifdef _LIBCPP_BUILDING_MEMORY
|
||||||
_LIBCPP_FUNC_VIS void __add_shared() _NOEXCEPT;
|
void __add_shared() _NOEXCEPT;
|
||||||
_LIBCPP_FUNC_VIS void __add_weak() _NOEXCEPT;
|
void __add_weak() _NOEXCEPT;
|
||||||
_LIBCPP_FUNC_VIS void __release_shared() _NOEXCEPT;
|
void __release_shared() _NOEXCEPT;
|
||||||
#else
|
#else
|
||||||
_LIBCPP_INLINE_VISIBILITY
|
_LIBCPP_INLINE_VISIBILITY
|
||||||
void __add_shared() _NOEXCEPT {
|
void __add_shared() _NOEXCEPT {
|
||||||
|
Reference in New Issue
Block a user