diff --git a/include/locale b/include/locale index bf52071..2cd033d 100644 --- a/include/locale +++ b/include/locale @@ -2557,7 +2557,11 @@ public: : time_put<_CharT, _OutputIterator>(__nm, __refs) {} protected: +#if defined(_MSC_VER) && defined(__clang__) + ~time_put_byname() {} +#else _LIBCPP_HIDE_FROM_ABI_VIRTUAL ~time_put_byname() override {} +#endif }; extern template class _LIBCPP_EXTERN_TEMPLATE_TYPE_VIS time_put_byname;