address build failures

This commit is contained in:
Jordan Maples [MSFT]
2020-02-07 14:40:09 -08:00
parent b81d6e40e1
commit d8fa68c4a5
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -430,7 +430,7 @@ public:
constexpr span(pointer firstElem, pointer lastElem) noexcept
: storage_(firstElem, static_cast<std::size_t>(std::distance(firstElem, lastElem)))
{
if (Extent != dynamic_extent) { Expects(lastElem - firstElem == Extent); }
if (Extent != dynamic_extent) { Expects(lastElem - firstElem == static_cast<difference_type>(Extent)); }
}
template <std::size_t N>