Skip to content

Commit c22323a

Browse files
leerhoclaude
andcommitted
Add missing standard includes to hll and cpc internal headers
coupon_iterator.hpp uses uint32_t and std::input_iterator_tag, and compression_data.hpp uses uint8_t and uint16_t, but neither includes the headers that declare them. Both compile today only because of include order. This is the same latent problem as reverse_purge_hash_map.hpp in #499, which surfaced under GCC 15's reduced transitive includes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 parent 70e462f commit c22323a

2 files changed

Lines changed: 5 additions & 0 deletions

File tree

‎cpc/include/compression_data.hpp‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@
2222
#ifndef CPC_COMPRESSION_DATA_HPP_
2323
#define CPC_COMPRESSION_DATA_HPP_
2424

25+
#include <cstdint>
26+
2527
namespace datasketches {
2628

2729
/*

‎hll/include/coupon_iterator.hpp‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@
2020
#ifndef _INTARRAYPAIRITERATOR_HPP_
2121
#define _INTARRAYPAIRITERATOR_HPP_
2222

23+
#include <cstdint>
24+
#include <iterator>
25+
2326
namespace datasketches {
2427

2528
template<typename A>

0 commit comments

Comments
 (0)