mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-03 05:21:25 +12:00
rsx: Fix compiler warnings
This commit is contained in:
parent
de28c812e8
commit
5281a85b67
4 changed files with 32 additions and 31 deletions
|
@ -109,10 +109,12 @@ namespace rsx
|
|||
_capacity = size;
|
||||
}
|
||||
|
||||
void resize(u32 size)
|
||||
template <typename T> requires UnsignedInt<T>
|
||||
void resize(T size)
|
||||
{
|
||||
reserve(size);
|
||||
_size = size;
|
||||
const auto new_size = static_cast<u32>(size);
|
||||
reserve(new_size);
|
||||
_size = new_size;
|
||||
}
|
||||
|
||||
void push_back(const Ty& val)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue