diff --git a/space_map_core.h b/space_map_core.h index 43a1b43..eacfd4e 100644 --- a/space_map_core.h +++ b/space_map_core.h @@ -75,7 +75,7 @@ namespace persistent_data { } maybe_block new_block(block_address begin, block_address end) { - for (block_address i = begin; i < min(end, counts_.size()); i++) + for (block_address i = begin; i < std::min(end, counts_.size()); i++) if (counts_[i] == 0) { counts_[i] = 1; nr_free_--;