mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-31 02:35:46 +01:00
Using std::move(), correct clear strings, better use '= default;', modernize make_* and replace heavy strlen
This commit is contained in:
committed by
Hielke Morsink
parent
0045aed7f9
commit
958bfbc08a
@@ -1378,7 +1378,7 @@ private:
|
||||
|
||||
void FilterUpdateCounts()
|
||||
{
|
||||
if (!_FILTER_ALL || strlen(_filter_string) > 0)
|
||||
if (!_FILTER_ALL || _filter_string[0] != '\0')
|
||||
{
|
||||
const auto& selectionFlags = _objectSelectionFlags;
|
||||
std::fill(std::begin(_filter_object_counts), std::end(_filter_object_counts), 0);
|
||||
|
||||
Reference in New Issue
Block a user