Ticket #50304: 0005-string-Fix-exception-declaration.patch

File 0005-string-Fix-exception-declaration.patch, 503 bytes (added by cf-macports@…, 9 years ago)

Adds missing exception declaration in include/string

  • include/string

    old new  
    19361936template <class _CharT, class _Traits, class _Allocator>
    19371937inline _LIBCPP_INLINE_VISIBILITY
    19381938basic_string<_CharT, _Traits, _Allocator>::basic_string(const allocator_type& __a)
     1939#if _LIBCPP_STD_VER <= 14
     1940        _NOEXCEPT_(is_nothrow_copy_constructible<allocator_type>::value)
     1941#else
     1942        _NOEXCEPT
     1943#endif
    19391944    : __r_(__a)
    19401945{
    19411946#if _LIBCPP_DEBUG_LEVEL >= 2