From 4abfaced8f5471c73e88466989cc604122066645 Mon Sep 17 00:00:00 2001 From: Ryo Suzuki Date: Fri, 8 Mar 2024 00:12:14 +0900 Subject: [PATCH] =?UTF-8?q?[=E5=85=B1=E9=80=9A]=20fix=20#1214?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Siv3D/include/Siv3D/detail/Statistics.ipp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Siv3D/include/Siv3D/detail/Statistics.ipp b/Siv3D/include/Siv3D/detail/Statistics.ipp index 63d5fd527..d4b8a1958 100644 --- a/Siv3D/include/Siv3D/detail/Statistics.ipp +++ b/Siv3D/include/Siv3D/detail/Statistics.ipp @@ -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) { @@ -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