Merge pull request #367 from apache/cleanup
minor cleanup
diff --git a/cpc/include/cpc_sketch_impl.hpp b/cpc/include/cpc_sketch_impl.hpp
index 0881b70..c5f467e 100644
--- a/cpc/include/cpc_sketch_impl.hpp
+++ b/cpc/include/cpc_sketch_impl.hpp
@@ -359,7 +359,7 @@
// for improved numerical accuracy, we separately sum the bytes of the U64's
double byte_sums[8]; // allocating on the stack
- std::fill(byte_sums, &byte_sums[8], 0);
+ std::fill(byte_sums, byte_sums + 8, 0);
for (size_t i = 0; i < k; i++) {
uint64_t word = bit_matrix[i];
diff --git a/kll/include/kll_helper.hpp b/kll/include/kll_helper.hpp
index 750dd7e..ff7a5fe 100644
--- a/kll/include/kll_helper.hpp
+++ b/kll/include/kll_helper.hpp
@@ -20,7 +20,6 @@
#ifndef KLL_HELPER_HPP_
#define KLL_HELPER_HPP_
-#include <random>
#include <stdexcept>
namespace datasketches {
diff --git a/req/include/req_compactor_impl.hpp b/req/include/req_compactor_impl.hpp
index bef70eb..f650ca8 100755
--- a/req/include/req_compactor_impl.hpp
+++ b/req/include/req_compactor_impl.hpp
@@ -28,8 +28,6 @@
#include "conditional_forward.hpp"
#include "common_defs.hpp"
-#include <iomanip>
-
namespace datasketches {
template<typename T, typename C, typename A>