Skip to content

Commit 4abface

Browse files
committed
[共通] fix #1214
1 parent 6911db1 commit 4abface

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Siv3D/include/Siv3D/detail/Statistics.ipp

+2-2
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ namespace s3d
202202
if (auto it = ht.find(*first);
203203
it != ht.end())
204204
{
205-
const size_t keyCount = ++(it.value());
205+
const size_t keyCount = ++(it->second);
206206

207207
if (keyCount > maxCount)
208208
{
@@ -257,7 +257,7 @@ namespace s3d
257257
if (auto it = ht.find(*first);
258258
it != ht.end())
259259
{
260-
const Count keyCount = ++(it.value().first);
260+
const Count keyCount = ++(it->second.first);
261261
maxCount = s3d::Max(maxCount, keyCount);
262262
}
263263
else

0 commit comments

Comments
 (0)