rsx: Apply Clang-Tidy fix "readability-container-size-empty"

This commit is contained in:
scribam 2019-06-07 21:56:30 +02:00 committed by kd-11
parent c4667133c4
commit 81a3b49c2f
6 changed files with 11 additions and 11 deletions

View file

@ -771,7 +771,7 @@ namespace rsx
gsl::span<const gsl::byte> thread::get_raw_index_array(const draw_clause& draw_indexed_clause) const
{
if (element_push_buffer.size())
if (!element_push_buffer.empty())
{
//Indices provided via immediate mode
return{(const gsl::byte*)element_push_buffer.data(), ::narrow<u32>(element_push_buffer.size() * sizeof(u32))};