Skip to content

Commit 5be04f2

Browse files
MaheshGPaiMahesh Pai
authored andcommitted
Review comments
1 parent ada8756 commit 5be04f2

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

tdigest/include/tdigest.hpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -319,18 +319,17 @@ class tdigest<T, A>::const_iterator {
319319
using pointer = const return_value_holder<value_type>;
320320
using reference = const value_type;
321321

322-
const_iterator(const tdigest<T, A> &tdigest_, bool is_end);
323-
324322
const_iterator& operator++();
325323
const_iterator& operator++(int);
326324
bool operator==(const const_iterator& other) const;
327325
bool operator!=(const const_iterator& other) const;
328326
reference operator*() const;
329327
pointer operator->() const;
330328
private:
331-
friend class tdigest<T, A>;
329+
friend class tdigest;
332330
uint32_t index_;
333331
vector_centroid centroids_;
332+
const_iterator(const tdigest& tdigest_, bool is_end);
334333
};
335334
} /* namespace datasketches */
336335

0 commit comments

Comments
 (0)