Skip to content

Commit

Permalink
try without template template
Browse files Browse the repository at this point in the history
  • Loading branch information
jbaldwin committed Nov 25, 2023
1 parent cb29f1e commit 68b6b1b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions inc/cappuccino/utlru_cache.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -189,8 +189,8 @@ class utlru_cache
* @param peek Should the find act like all the items were not used?
* @return All input keys to either a std::nullopt if it doesn't exist, or the value if it does.
*/
template<template<class...> typename range_type, class range_allocator_type>
auto find_range(const range_type<key_type, range_allocator_type>& key_range, peek peek = peek::no)
template<typename range_type>
auto find_range(const range_type& key_range, peek peek = peek::no)
-> std::vector<std::pair<key_type, std::optional<value_type>>>
{
std::vector<std::pair<key_type, std::optional<value_type>>> output;
Expand Down

0 comments on commit 68b6b1b

Please sign in to comment.