Skip to content
Permalink
Browse files
removed some unnecessary complexity
  • Loading branch information
AlexanderSaydakov committed Feb 4, 2022
1 parent b9f6b55 commit 891fca5cbff53370a40a840d4cdb30f659e440a4
Showing 1 changed file with 2 additions and 5 deletions.
@@ -53,11 +53,8 @@ class quantile_sketch_sorted_view {
const T& get_quantile(double rank) const;

private:
template<typename TT = T>
static inline const TT& deref_helper(const TT* t) { return *t; }

template<typename TT = T>
static inline const TT& deref_helper(const TT& t) { return t; }
static inline const T& deref_helper(const T* t) { return *t; }
static inline const T& deref_helper(const T& t) { return t; }

template<typename C>
struct compare_pairs_by_first_ptr {

0 comments on commit 891fca5

Please sign in to comment.