Skip to content

Commit 34ee832

Browse files
authored
Merge pull request #440 from apache/fix_includes
add missing algorithm header
2 parents bceeb2d + 912728a commit 34ee832

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

filters/include/bloom_filter.hpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -521,7 +521,7 @@ class bloom_filter_alloc {
521521
* @param other A Bloom Filter to check for compatibility with this one
522522
* @return True if the filters are compatible, otherwise false
523523
*/
524-
bool is_compatible(const bloom_filter_alloc& other) const;
524+
bool is_compatible(const bloom_filter_alloc& other) const;
525525

526526
/**
527527
* @brief Checks if the Bloom Filter is read-only.

filters/include/bloom_filter_impl.hpp

+2-1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
#ifndef _BLOOM_FILTER_IMPL_HPP_
2121
#define _BLOOM_FILTER_IMPL_HPP_
2222

23+
#include <algorithm>
2324
#include <memory>
2425
#include <sstream>
2526
#include <vector>
@@ -904,4 +905,4 @@ string<A> bloom_filter_alloc<A>::to_string(bool print_filter) const {
904905

905906
} // namespace datasketches
906907

907-
#endif // _BLOOM_FILTER_IMPL_HPP_
908+
#endif // _BLOOM_FILTER_IMPL_HPP_

tdigest/include/tdigest_impl.hpp

+1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
#ifndef _TDIGEST_IMPL_HPP_
2121
#define _TDIGEST_IMPL_HPP_
2222

23+
#include <algorithm>
2324
#include <cmath>
2425
#include <sstream>
2526

0 commit comments

Comments
 (0)