Skip to content

Commit

Permalink
[共通] fix #1214
Browse files Browse the repository at this point in the history
  • Loading branch information
Reputeless committed Mar 7, 2024
1 parent 6911db1 commit 4abface
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Siv3D/include/Siv3D/detail/Statistics.ipp
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ namespace s3d
if (auto it = ht.find(*first);
it != ht.end())
{
const size_t keyCount = ++(it.value());
const size_t keyCount = ++(it->second);

if (keyCount > maxCount)
{
Expand Down Expand Up @@ -257,7 +257,7 @@ namespace s3d
if (auto it = ht.find(*first);
it != ht.end())
{
const Count keyCount = ++(it.value().first);
const Count keyCount = ++(it->second.first);
maxCount = s3d::Max(maxCount, keyCount);
}
else
Expand Down

0 comments on commit 4abface

Please sign in to comment.