mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-12 01:38:37 +12:00
EXPECTS usage removed
This commit is contained in:
parent
56b9b38c9c
commit
84d0d396ed
27 changed files with 90 additions and 106 deletions
|
@ -21,7 +21,7 @@ namespace
|
|||
constexpr void copy(gsl::span<T1> dst, gsl::span<T2> src)
|
||||
{
|
||||
static_assert(std::is_convertible<T1, T2>::value, "Cannot convert source and destination span type.");
|
||||
EXPECTS(dst.size() == src.size());
|
||||
verify(HERE), (dst.size() == src.size());
|
||||
std::copy(src.begin(), src.end(), dst.begin());
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue