reviewed the pr in its entirety and made some slight modifications. Removed all members and fields marked as deprecated.

This commit is contained in:
Jordan Maples [MSFT]
2020-02-11 16:36:07 -08:00
parent cce6ee563e
commit 926aaeca56
4 changed files with 11 additions and 29 deletions
+1 -1
View File
@@ -381,7 +381,7 @@ as_bytes(basic_string_span<ElementType, Extent> s) noexcept
template <class ElementType, std::size_t Extent,
class = std::enable_if_t<!std::is_const<ElementType>::value>>
basic_string_span<byte, details::calculate_byte_size<ElementType, Extent>::value>
as_writeable_bytes(basic_string_span<ElementType, Extent> s) noexcept
as_writable_bytes(basic_string_span<ElementType, Extent> s) noexcept
{
GSL_SUPPRESS(type.1) // NO-FORMAT: attribute
return {reinterpret_cast<byte*>(s.data()), s.size_bytes()};