Update Gps_on_surface_base_2.h (std::min)(..)

This commit is contained in:
Andreas Fabri 2025-09-12 17:15:07 +02:00 committed by GitHub
parent 0f2aa39b62
commit 3988fe2009
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -1336,7 +1336,7 @@ protected:
std::size_t size = std::distance(begin, end);
auto it = begin;
while (it != end) {
std::size_t num = std::min(size+1, k);
std::size_t num = (std::min)(size+1, k);
arr_entries.resize(num);
for (std::size_t i = 1; i < num; ++i) {
// process pgn