You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@datasketches.apache.org by al...@apache.org on 2022/03/01 00:22:33 UTC
[datasketches-cpp] branch master updated: fix: add missing includes
This is an automated email from the ASF dual-hosted git repository.
alsay pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/datasketches-cpp.git
The following commit(s) were added to refs/heads/master by this push:
new 68c2b98 fix: add missing <stdexcept> includes
new 7ee0c36 Merge pull request #265 from aseure/fix-python-build
68c2b98 is described below
commit 68c2b982a56f87fe0c61ef6e97e2b86e9ebe8315
Author: Anthony Seure <an...@gmail.com>
AuthorDate: Mon Feb 28 16:32:41 2022 +0100
fix: add missing <stdexcept> includes
---
common/include/binomial_bounds.hpp | 1 +
common/include/quantile_sketch_sorted_view_impl.hpp | 1 +
cpc/include/cpc_compressor_impl.hpp | 1 +
cpc/include/cpc_confidence.hpp | 1 +
cpc/include/cpc_union_impl.hpp | 2 ++
cpc/test/cpc_sketch_test.cpp | 1 +
cpc/test/cpc_union_test.cpp | 2 ++
fi/include/frequent_items_sketch_impl.hpp | 1 +
fi/test/frequent_items_sketch_custom_type_test.cpp | 1 +
fi/test/frequent_items_sketch_test.cpp | 1 +
hll/include/AuxHashMap-internal.hpp | 2 ++
hll/include/CompositeInterpolationXTable-internal.hpp | 1 +
hll/include/CouponHashSet-internal.hpp | 1 +
hll/include/CouponList-internal.hpp | 1 +
hll/include/HllSketchImpl-internal.hpp | 2 ++
hll/include/HllSketchImplFactory.hpp | 2 ++
hll/test/AuxHashMapTest.cpp | 1 +
hll/test/CouponHashSetTest.cpp | 1 +
hll/test/CouponListTest.cpp | 1 +
hll/test/HllArrayTest.cpp | 1 +
hll/test/HllSketchTest.cpp | 2 ++
hll/test/HllUnionTest.cpp | 1 +
hll/test/TablesTest.cpp | 1 +
kll/include/kll_helper_impl.hpp | 1 +
kll/include/kll_sketch_impl.hpp | 1 +
kll/test/kll_sketch_test.cpp | 1 +
python/src/kll_wrapper.cpp | 1 +
python/src/req_wrapper.cpp | 1 +
python/src/vector_of_kll.cpp | 1 +
req/include/req_sketch.hpp | 2 ++
req/test/req_sketch_test.cpp | 1 +
sampling/include/var_opt_sketch_impl.hpp | 1 +
sampling/include/var_opt_union_impl.hpp | 1 +
sampling/test/var_opt_sketch_test.cpp | 1 +
sampling/test/var_opt_union_test.cpp | 1 +
theta/include/bounds_on_ratios_in_sampled_sets.hpp | 1 +
theta/include/compact_theta_sketch_parser_impl.hpp | 1 +
theta/include/theta_intersection_base_impl.hpp | 1 +
theta/include/theta_set_difference_base_impl.hpp | 1 +
theta/include/theta_sketch_impl.hpp | 1 +
theta/include/theta_union_base_impl.hpp | 1 +
theta/include/theta_update_sketch_base_impl.hpp | 1 +
theta/test/theta_a_not_b_test.cpp | 2 ++
theta/test/theta_intersection_test.cpp | 2 ++
theta/test/theta_setop_test.cpp | 1 +
theta/test/theta_sketch_test.cpp | 1 +
theta/test/theta_union_test.cpp | 2 ++
tuple/include/tuple_sketch_impl.hpp | 1 +
tuple/test/tuple_a_not_b_test.cpp | 1 +
tuple/test/tuple_intersection_test.cpp | 1 +
tuple/test/tuple_union_test.cpp | 1 +
51 files changed, 61 insertions(+)
diff --git a/common/include/binomial_bounds.hpp b/common/include/binomial_bounds.hpp
index c1243e5..3b73535 100644
--- a/common/include/binomial_bounds.hpp
+++ b/common/include/binomial_bounds.hpp
@@ -22,6 +22,7 @@
#include <algorithm>
#include <cmath>
+#include <stdexcept>
/*
* This class enables the estimation of error bounds given a sample set size, the sampling
diff --git a/common/include/quantile_sketch_sorted_view_impl.hpp b/common/include/quantile_sketch_sorted_view_impl.hpp
index c275389..7d9a07b 100755
--- a/common/include/quantile_sketch_sorted_view_impl.hpp
+++ b/common/include/quantile_sketch_sorted_view_impl.hpp
@@ -21,6 +21,7 @@
#define QUANTILE_SKETCH_SORTED_VIEW_IMPL_HPP_
#include <algorithm>
+#include <stdexcept>
namespace datasketches {
diff --git a/cpc/include/cpc_compressor_impl.hpp b/cpc/include/cpc_compressor_impl.hpp
index c49bf0a..c6f9060 100644
--- a/cpc/include/cpc_compressor_impl.hpp
+++ b/cpc/include/cpc_compressor_impl.hpp
@@ -23,6 +23,7 @@
#define CPC_COMPRESSOR_IMPL_HPP_
#include <memory>
+#include <stdexcept>
#include "compression_data.hpp"
#include "cpc_util.hpp"
diff --git a/cpc/include/cpc_confidence.hpp b/cpc/include/cpc_confidence.hpp
index e567057..8c6f0e3 100644
--- a/cpc/include/cpc_confidence.hpp
+++ b/cpc/include/cpc_confidence.hpp
@@ -23,6 +23,7 @@
#define CPC_CONFIDENCE_HPP_
#include <cmath>
+#include <stdexcept>
#include "cpc_sketch.hpp"
diff --git a/cpc/include/cpc_union_impl.hpp b/cpc/include/cpc_union_impl.hpp
index 324d258..5865cf5 100644
--- a/cpc/include/cpc_union_impl.hpp
+++ b/cpc/include/cpc_union_impl.hpp
@@ -22,6 +22,8 @@
#include "count_zeros.hpp"
+#include <stdexcept>
+
namespace datasketches {
template<typename A>
diff --git a/cpc/test/cpc_sketch_test.cpp b/cpc/test/cpc_sketch_test.cpp
index f0e5d7a..6c702dd 100644
--- a/cpc/test/cpc_sketch_test.cpp
+++ b/cpc/test/cpc_sketch_test.cpp
@@ -21,6 +21,7 @@
#include <cstring>
#include <sstream>
#include <fstream>
+#include <stdexcept>
#include <catch.hpp>
diff --git a/cpc/test/cpc_union_test.cpp b/cpc/test/cpc_union_test.cpp
index 688ea12..e5df217 100644
--- a/cpc/test/cpc_union_test.cpp
+++ b/cpc/test/cpc_union_test.cpp
@@ -21,6 +21,8 @@
#include "cpc_union.hpp"
+#include <stdexcept>
+
namespace datasketches {
static const double RELATIVE_ERROR_FOR_LG_K_11 = 0.02;
diff --git a/fi/include/frequent_items_sketch_impl.hpp b/fi/include/frequent_items_sketch_impl.hpp
index 602dfc6..88fdb6d 100644
--- a/fi/include/frequent_items_sketch_impl.hpp
+++ b/fi/include/frequent_items_sketch_impl.hpp
@@ -23,6 +23,7 @@
#include <cstring>
#include <limits>
#include <sstream>
+#include <stdexcept>
#include "memory_operations.hpp"
diff --git a/fi/test/frequent_items_sketch_custom_type_test.cpp b/fi/test/frequent_items_sketch_custom_type_test.cpp
index 612abba..67135cc 100644
--- a/fi/test/frequent_items_sketch_custom_type_test.cpp
+++ b/fi/test/frequent_items_sketch_custom_type_test.cpp
@@ -19,6 +19,7 @@
#include <catch.hpp>
#include <sstream>
+#include <stdexcept>
#include "frequent_items_sketch.hpp"
#include "test_type.hpp"
diff --git a/fi/test/frequent_items_sketch_test.cpp b/fi/test/frequent_items_sketch_test.cpp
index 8c2b9bf..0e5772c 100644
--- a/fi/test/frequent_items_sketch_test.cpp
+++ b/fi/test/frequent_items_sketch_test.cpp
@@ -20,6 +20,7 @@
#include <catch.hpp>
#include <sstream>
#include <fstream>
+#include <stdexcept>
#include "frequent_items_sketch.hpp"
diff --git a/hll/include/AuxHashMap-internal.hpp b/hll/include/AuxHashMap-internal.hpp
index 751c74a..a89ac0e 100644
--- a/hll/include/AuxHashMap-internal.hpp
+++ b/hll/include/AuxHashMap-internal.hpp
@@ -20,6 +20,8 @@
#ifndef _AUXHASHMAP_INTERNAL_HPP_
#define _AUXHASHMAP_INTERNAL_HPP_
+#include <stdexcept>
+
#include "HllUtil.hpp"
#include "AuxHashMap.hpp"
diff --git a/hll/include/CompositeInterpolationXTable-internal.hpp b/hll/include/CompositeInterpolationXTable-internal.hpp
index 0f6cae6..9cc9e84 100644
--- a/hll/include/CompositeInterpolationXTable-internal.hpp
+++ b/hll/include/CompositeInterpolationXTable-internal.hpp
@@ -24,6 +24,7 @@
#include "CompositeInterpolationXTable.hpp"
#include <exception>
+#include <stdexcept>
namespace datasketches {
diff --git a/hll/include/CouponHashSet-internal.hpp b/hll/include/CouponHashSet-internal.hpp
index e7b5768..b8093ad 100644
--- a/hll/include/CouponHashSet-internal.hpp
+++ b/hll/include/CouponHashSet-internal.hpp
@@ -24,6 +24,7 @@
#include <cstring>
#include <exception>
+#include <stdexcept>
namespace datasketches {
diff --git a/hll/include/CouponList-internal.hpp b/hll/include/CouponList-internal.hpp
index c80c294..cd3d270 100644
--- a/hll/include/CouponList-internal.hpp
+++ b/hll/include/CouponList-internal.hpp
@@ -27,6 +27,7 @@
#include <algorithm>
#include <cmath>
+#include <stdexcept>
namespace datasketches {
diff --git a/hll/include/HllSketchImpl-internal.hpp b/hll/include/HllSketchImpl-internal.hpp
index 89ae4e6..6b11e7c 100644
--- a/hll/include/HllSketchImpl-internal.hpp
+++ b/hll/include/HllSketchImpl-internal.hpp
@@ -23,6 +23,8 @@
#include "HllSketchImpl.hpp"
#include "HllSketchImplFactory.hpp"
+#include <stdexcept>
+
namespace datasketches {
template<typename A>
diff --git a/hll/include/HllSketchImplFactory.hpp b/hll/include/HllSketchImplFactory.hpp
index 446d712..5c1c44c 100644
--- a/hll/include/HllSketchImplFactory.hpp
+++ b/hll/include/HllSketchImplFactory.hpp
@@ -20,6 +20,8 @@
#ifndef _HLLSKETCHIMPLFACTORY_HPP_
#define _HLLSKETCHIMPLFACTORY_HPP_
+#include <stdexcept>
+
#include "HllUtil.hpp"
#include "HllSketchImpl.hpp"
#include "CouponList.hpp"
diff --git a/hll/test/AuxHashMapTest.cpp b/hll/test/AuxHashMapTest.cpp
index a653059..7249871 100644
--- a/hll/test/AuxHashMapTest.cpp
+++ b/hll/test/AuxHashMapTest.cpp
@@ -19,6 +19,7 @@
#include <catch.hpp>
#include <memory>
+#include <stdexcept>
#include "AuxHashMap.hpp"
diff --git a/hll/test/CouponHashSetTest.cpp b/hll/test/CouponHashSetTest.cpp
index aa832b5..b7f2ca1 100644
--- a/hll/test/CouponHashSetTest.cpp
+++ b/hll/test/CouponHashSetTest.cpp
@@ -26,6 +26,7 @@
#include <cmath>
#include <string>
#include <exception>
+#include <stdexcept>
namespace datasketches {
diff --git a/hll/test/CouponListTest.cpp b/hll/test/CouponListTest.cpp
index a6c9333..c6fd14b 100644
--- a/hll/test/CouponListTest.cpp
+++ b/hll/test/CouponListTest.cpp
@@ -23,6 +23,7 @@
#include <cmath>
#include <string>
#include <exception>
+#include <stdexcept>
#include "hll.hpp"
#include "CouponList.hpp"
diff --git a/hll/test/HllArrayTest.cpp b/hll/test/HllArrayTest.cpp
index ce39791..513bb8f 100644
--- a/hll/test/HllArrayTest.cpp
+++ b/hll/test/HllArrayTest.cpp
@@ -21,6 +21,7 @@
#include <exception>
#include <sstream>
+#include <stdexcept>
#include <catch.hpp>
namespace datasketches {
diff --git a/hll/test/HllSketchTest.cpp b/hll/test/HllSketchTest.cpp
index b0635d8..2550dfa 100644
--- a/hll/test/HllSketchTest.cpp
+++ b/hll/test/HllSketchTest.cpp
@@ -17,6 +17,8 @@
* under the License.
*/
+#include <stdexcept>
+
#include "hll.hpp"
#include <catch.hpp>
diff --git a/hll/test/HllUnionTest.cpp b/hll/test/HllUnionTest.cpp
index e2f4448..756aab6 100644
--- a/hll/test/HllUnionTest.cpp
+++ b/hll/test/HllUnionTest.cpp
@@ -19,6 +19,7 @@
#include <catch.hpp>
#include <sstream>
+#include <stdexcept>
#include "hll.hpp"
diff --git a/hll/test/TablesTest.cpp b/hll/test/TablesTest.cpp
index aee0e9d..a2b4bce 100644
--- a/hll/test/TablesTest.cpp
+++ b/hll/test/TablesTest.cpp
@@ -17,6 +17,7 @@
* under the License.
*/
+#include <stdexcept>
#include <catch.hpp>
diff --git a/kll/include/kll_helper_impl.hpp b/kll/include/kll_helper_impl.hpp
index caa611b..a4c4940 100644
--- a/kll/include/kll_helper_impl.hpp
+++ b/kll/include/kll_helper_impl.hpp
@@ -21,6 +21,7 @@
#define KLL_HELPER_IMPL_HPP_
#include <algorithm>
+#include <stdexcept>
namespace datasketches {
diff --git a/kll/include/kll_sketch_impl.hpp b/kll/include/kll_sketch_impl.hpp
index a5c3406..72077b1 100644
--- a/kll/include/kll_sketch_impl.hpp
+++ b/kll/include/kll_sketch_impl.hpp
@@ -23,6 +23,7 @@
#include <iostream>
#include <iomanip>
#include <sstream>
+#include <stdexcept>
#include "memory_operations.hpp"
#include "kll_helper.hpp"
diff --git a/kll/test/kll_sketch_test.cpp b/kll/test/kll_sketch_test.cpp
index 9cb5619..2939550 100644
--- a/kll/test/kll_sketch_test.cpp
+++ b/kll/test/kll_sketch_test.cpp
@@ -22,6 +22,7 @@
#include <cstring>
#include <sstream>
#include <fstream>
+#include <stdexcept>
#include <kll_sketch.hpp>
#include <test_allocator.hpp>
diff --git a/python/src/kll_wrapper.cpp b/python/src/kll_wrapper.cpp
index 3362c1d..a2a8c12 100644
--- a/python/src/kll_wrapper.cpp
+++ b/python/src/kll_wrapper.cpp
@@ -24,6 +24,7 @@
#include <pybind11/numpy.h>
#include <sstream>
#include <vector>
+#include <stdexcept>
namespace py = pybind11;
diff --git a/python/src/req_wrapper.cpp b/python/src/req_wrapper.cpp
index 2e9741a..eeb085a 100644
--- a/python/src/req_wrapper.cpp
+++ b/python/src/req_wrapper.cpp
@@ -24,6 +24,7 @@
#include <pybind11/numpy.h>
#include <sstream>
#include <vector>
+#include <stdexcept>
namespace py = pybind11;
diff --git a/python/src/vector_of_kll.cpp b/python/src/vector_of_kll.cpp
index 5a2ef1d..020e6ee 100644
--- a/python/src/vector_of_kll.cpp
+++ b/python/src/vector_of_kll.cpp
@@ -24,6 +24,7 @@
#include <pybind11/numpy.h>
#include <sstream>
#include <vector>
+#include <stdexcept>
namespace py = pybind11;
diff --git a/req/include/req_sketch.hpp b/req/include/req_sketch.hpp
index 1ef2157..f937ee3 100755
--- a/req/include/req_sketch.hpp
+++ b/req/include/req_sketch.hpp
@@ -24,6 +24,8 @@
#include "req_compactor.hpp"
#include "req_quantile_calculator.hpp"
+#include <stdexcept>
+
namespace datasketches {
template<
diff --git a/req/test/req_sketch_test.cpp b/req/test/req_sketch_test.cpp
index 0d2da32..9705699 100755
--- a/req/test/req_sketch_test.cpp
+++ b/req/test/req_sketch_test.cpp
@@ -24,6 +24,7 @@
#include <fstream>
#include <sstream>
#include <limits>
+#include <stdexcept>
namespace datasketches {
diff --git a/sampling/include/var_opt_sketch_impl.hpp b/sampling/include/var_opt_sketch_impl.hpp
index b2de71f..9cb1d06 100644
--- a/sampling/include/var_opt_sketch_impl.hpp
+++ b/sampling/include/var_opt_sketch_impl.hpp
@@ -25,6 +25,7 @@
#include <cmath>
#include <random>
#include <algorithm>
+#include <stdexcept>
#include "var_opt_sketch.hpp"
#include "serde.hpp"
diff --git a/sampling/include/var_opt_union_impl.hpp b/sampling/include/var_opt_union_impl.hpp
index 8eafbec..196dedf 100644
--- a/sampling/include/var_opt_union_impl.hpp
+++ b/sampling/include/var_opt_union_impl.hpp
@@ -24,6 +24,7 @@
#include <cmath>
#include <sstream>
+#include <stdexcept>
namespace datasketches {
diff --git a/sampling/test/var_opt_sketch_test.cpp b/sampling/test/var_opt_sketch_test.cpp
index af1cf8c..61a16dc 100644
--- a/sampling/test/var_opt_sketch_test.cpp
+++ b/sampling/test/var_opt_sketch_test.cpp
@@ -27,6 +27,7 @@
#include <fstream>
#include <cmath>
#include <random>
+#include <stdexcept>
#ifdef TEST_BINARY_INPUT_PATH
static std::string testBinaryInputPath = TEST_BINARY_INPUT_PATH;
diff --git a/sampling/test/var_opt_union_test.cpp b/sampling/test/var_opt_union_test.cpp
index 964e869..4972ee7 100644
--- a/sampling/test/var_opt_union_test.cpp
+++ b/sampling/test/var_opt_union_test.cpp
@@ -27,6 +27,7 @@
#include <fstream>
#include <cmath>
#include <random>
+#include <stdexcept>
#ifdef TEST_BINARY_INPUT_PATH
static std::string testBinaryInputPath = TEST_BINARY_INPUT_PATH;
diff --git a/theta/include/bounds_on_ratios_in_sampled_sets.hpp b/theta/include/bounds_on_ratios_in_sampled_sets.hpp
index 341319a..aa44b1f 100644
--- a/theta/include/bounds_on_ratios_in_sampled_sets.hpp
+++ b/theta/include/bounds_on_ratios_in_sampled_sets.hpp
@@ -22,6 +22,7 @@
#include <cstdint>
#include <string>
+#include <stdexcept>
#include "bounds_binomial_proportions.hpp"
diff --git a/theta/include/compact_theta_sketch_parser_impl.hpp b/theta/include/compact_theta_sketch_parser_impl.hpp
index 7b231aa..4b653b8 100644
--- a/theta/include/compact_theta_sketch_parser_impl.hpp
+++ b/theta/include/compact_theta_sketch_parser_impl.hpp
@@ -22,6 +22,7 @@
#include <iostream>
#include <iomanip>
+#include <stdexcept>
namespace datasketches {
diff --git a/theta/include/theta_intersection_base_impl.hpp b/theta/include/theta_intersection_base_impl.hpp
index 8f54d82..49736dd 100644
--- a/theta/include/theta_intersection_base_impl.hpp
+++ b/theta/include/theta_intersection_base_impl.hpp
@@ -20,6 +20,7 @@
#include <iostream>
#include <sstream>
#include <algorithm>
+#include <stdexcept>
#include "conditional_forward.hpp"
diff --git a/theta/include/theta_set_difference_base_impl.hpp b/theta/include/theta_set_difference_base_impl.hpp
index 45aa718..6104243 100644
--- a/theta/include/theta_set_difference_base_impl.hpp
+++ b/theta/include/theta_set_difference_base_impl.hpp
@@ -21,6 +21,7 @@
#define THETA_A_SET_DIFFERENCE_BASE_IMPL_HPP_
#include <algorithm>
+#include <stdexcept>
#include "conditional_back_inserter.hpp"
#include "conditional_forward.hpp"
diff --git a/theta/include/theta_sketch_impl.hpp b/theta/include/theta_sketch_impl.hpp
index 7d49f04..172074a 100644
--- a/theta/include/theta_sketch_impl.hpp
+++ b/theta/include/theta_sketch_impl.hpp
@@ -22,6 +22,7 @@
#include <sstream>
#include <vector>
+#include <stdexcept>
#include "serde.hpp"
#include "binomial_bounds.hpp"
diff --git a/theta/include/theta_union_base_impl.hpp b/theta/include/theta_union_base_impl.hpp
index ca6367a..bc8f490 100644
--- a/theta/include/theta_union_base_impl.hpp
+++ b/theta/include/theta_union_base_impl.hpp
@@ -21,6 +21,7 @@
#define THETA_UNION_BASE_IMPL_HPP_
#include <algorithm>
+#include <stdexcept>
#include "conditional_forward.hpp"
diff --git a/theta/include/theta_update_sketch_base_impl.hpp b/theta/include/theta_update_sketch_base_impl.hpp
index bf365c8..894e73e 100644
--- a/theta/include/theta_update_sketch_base_impl.hpp
+++ b/theta/include/theta_update_sketch_base_impl.hpp
@@ -23,6 +23,7 @@
#include <iostream>
#include <sstream>
#include <algorithm>
+#include <stdexcept>
#include "theta_helpers.hpp"
diff --git a/theta/test/theta_a_not_b_test.cpp b/theta/test/theta_a_not_b_test.cpp
index ec2aa54..577e714 100644
--- a/theta/test/theta_a_not_b_test.cpp
+++ b/theta/test/theta_a_not_b_test.cpp
@@ -21,6 +21,8 @@
#include <theta_a_not_b.hpp>
+#include <stdexcept>
+
namespace datasketches {
TEST_CASE("theta a-not-b: empty", "[theta_a_not_b]") {
diff --git a/theta/test/theta_intersection_test.cpp b/theta/test/theta_intersection_test.cpp
index 34ff667..c1889ca 100644
--- a/theta/test/theta_intersection_test.cpp
+++ b/theta/test/theta_intersection_test.cpp
@@ -21,6 +21,8 @@
#include <theta_intersection.hpp>
+#include <stdexcept>
+
namespace datasketches {
TEST_CASE("theta intersection: invalid", "[theta_intersection]") {
diff --git a/theta/test/theta_setop_test.cpp b/theta/test/theta_setop_test.cpp
index c06daf5..163f20a 100644
--- a/theta/test/theta_setop_test.cpp
+++ b/theta/test/theta_setop_test.cpp
@@ -18,6 +18,7 @@
*/
#include <sstream>
+#include <stdexcept>
#include <catch.hpp>
#include <theta_union.hpp>
diff --git a/theta/test/theta_sketch_test.cpp b/theta/test/theta_sketch_test.cpp
index 00505e0..06e3f6b 100644
--- a/theta/test/theta_sketch_test.cpp
+++ b/theta/test/theta_sketch_test.cpp
@@ -21,6 +21,7 @@
#include <fstream>
#include <sstream>
#include <vector>
+#include <stdexcept>
#include <catch.hpp>
#include <theta_sketch.hpp>
diff --git a/theta/test/theta_union_test.cpp b/theta/test/theta_union_test.cpp
index 0deb0c0..9d8e96e 100644
--- a/theta/test/theta_union_test.cpp
+++ b/theta/test/theta_union_test.cpp
@@ -21,6 +21,8 @@
#include <theta_union.hpp>
+#include <stdexcept>
+
namespace datasketches {
TEST_CASE("theta union: empty", "[theta_union]") {
diff --git a/tuple/include/tuple_sketch_impl.hpp b/tuple/include/tuple_sketch_impl.hpp
index e0c3a5a..7f89d32 100644
--- a/tuple/include/tuple_sketch_impl.hpp
+++ b/tuple/include/tuple_sketch_impl.hpp
@@ -18,6 +18,7 @@
*/
#include <sstream>
+#include <stdexcept>
#include "binomial_bounds.hpp"
#include "theta_helpers.hpp"
diff --git a/tuple/test/tuple_a_not_b_test.cpp b/tuple/test/tuple_a_not_b_test.cpp
index 84c1881..8f70a6d 100644
--- a/tuple/test/tuple_a_not_b_test.cpp
+++ b/tuple/test/tuple_a_not_b_test.cpp
@@ -22,6 +22,7 @@
#include <catch.hpp>
#include <tuple_a_not_b.hpp>
#include <theta_sketch.hpp>
+#include <stdexcept>
namespace datasketches {
diff --git a/tuple/test/tuple_intersection_test.cpp b/tuple/test/tuple_intersection_test.cpp
index d3a26b9..e81b9ed 100644
--- a/tuple/test/tuple_intersection_test.cpp
+++ b/tuple/test/tuple_intersection_test.cpp
@@ -22,6 +22,7 @@
#include <catch.hpp>
#include <tuple_intersection.hpp>
#include <theta_sketch.hpp>
+#include <stdexcept>
namespace datasketches {
diff --git a/tuple/test/tuple_union_test.cpp b/tuple/test/tuple_union_test.cpp
index 7e172c0..40e5b25 100644
--- a/tuple/test/tuple_union_test.cpp
+++ b/tuple/test/tuple_union_test.cpp
@@ -18,6 +18,7 @@
*/
#include <iostream>
+#include <stdexcept>
#include <catch.hpp>
#include <tuple_union.hpp>
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@datasketches.apache.org
For additional commands, e-mail: commits-help@datasketches.apache.org