forked from rosebudai/OpenRCT2-Web
Replace uses of .size() or .length() with .empty() when appropriate (#25950)
This commit is contained in:
1 parent
d237721e68
commit
416a005b88
28 files changed
+60
-60
No files matched your search
@@ -90,7 +90,7 @@ namespace OpenRCT2::Http
|
||||
{
|
||||
// Ignore first header as that is the HTTP version which
|
||||
// we don't really count as a header.
|
||||
if (index != 0 && wKey.size() != 0)
|
||||
if (index != 0 && !wKey.empty())
|
||||
{
|
||||
auto key = String::toUtf8(wKey);
|
||||
auto value = String::toUtf8(wValue);
|
||||
|
||||
Reference in new issue
Block a user