From 9ee7facf01a76860ce253188a6a254a0a39941cf Mon Sep 17 00:00:00 2001 From: Thomas Applencourt Date: Wed, 24 Jul 2024 18:28:31 +0000 Subject: [PATCH] consistancy --- xprof/btx_tally.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xprof/btx_tally.hpp b/xprof/btx_tally.hpp index 95902238..2f123b66 100644 --- a/xprof/btx_tally.hpp +++ b/xprof/btx_tally.hpp @@ -147,7 +147,7 @@ auto aggregate_by_name(std::unordered_map, TC> &m) { */ // Base case to stop recursion -inline void _get_uniq_tally(std::set>, std::vector &) {} +inline void _get_uniq_tally(std::set> &, std::vector &) {} // General recursive case template void _get_uniq_tally(std::set> &s, std::vector &v) { v.push_back(s.size()); @@ -157,7 +157,7 @@ template void _get_uniq_tally(std::set> &s, std::v s_reduced.insert(make_tuple_without_last(t)); _get_uniq_tally(s_reduced, v); } -// Exposed Class +// Exposed function template auto get_uniq_tally(std::unordered_map, K> &m) { // Map to Set. Can remove the last elements who is the `api name` typedef decltype(make_tuple_without_last(std::declval>())) Minusone;