Skip to content

Commit 0beaafb

Browse files
MaheshGPaiMahesh Pai
authored andcommitted
Remocing the unnecessary parameters
1 parent faca5d0 commit 0beaafb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tdigest/include/tdigest_impl.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -638,11 +638,11 @@ template <typename T, typename A>
638638
}
639639

640640
template<typename T, typename A>
641-
tdigest<T, A>::const_iterator::const_iterator(const tdigest<T, A>& tdigest_, const bool is_end):
641+
tdigest<T, A>::const_iterator::const_iterator(const tdigest& tdigest_, const bool is_end):
642642
centroids_(tdigest_.get_allocator())
643643
{
644644
// Create a copy of the tdigest to generate the centroids after processing the buffered values
645-
tdigest<T, A> tmp(tdigest_);
645+
tdigest tmp(tdigest_);
646646
tmp.compress();
647647
centroids_.insert(centroids_.end(), tmp.centroids_.begin(), tmp.centroids_.end());
648648

0 commit comments

Comments
 (0)