Change Windows decoration on some base classes

Mark the base classes for time_get_byname and time_get as _LIBCPP_TYPE_VIS_ONLY
rather than _LIBCPP_TYPE_VIS.  These base classes are templated types and cannot
be stored with export dll storage.

Fixes compilation with _LIBCPP_DLL for Windows when the time_get and
time_get_byname classes are used.

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@213116 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Saleem Abdulrasool 2014-07-16 01:00:26 +00:00
parent 48e7e9f403
commit 7ef03b79f9

View File

@ -1871,7 +1871,7 @@ public:
};
template <class _CharT>
class _LIBCPP_TYPE_VIS __time_get_c_storage
class _LIBCPP_TYPE_VIS_ONLY __time_get_c_storage
{
protected:
typedef basic_string<_CharT> string_type;
@ -2509,7 +2509,7 @@ protected:
};
template <class _CharT>
class _LIBCPP_TYPE_VIS __time_get_storage
class _LIBCPP_TYPE_VIS_ONLY __time_get_storage
: public __time_get
{
protected: