Skip to content

Commit

Permalink
Update async_redis.h
Browse files Browse the repository at this point in the history
  • Loading branch information
BeyondWUXF authored Oct 12, 2024
1 parent 1d0155a commit 7e79f23
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/sw/redis++/async_redis.h
Original file line number Diff line number Diff line change
Expand Up @@ -1453,7 +1453,7 @@ class AsyncRedis {

template <typename Output, typename Interval>
Future<Output> zrangebyscore(const StringView &key, const Interval &interval) {
return zrangebyscore(key, interval, {});
return zrangebyscore<Output>(key, interval, {});
}

template <typename Output, typename Interval, typename Callback>
Expand Down Expand Up @@ -1582,7 +1582,7 @@ class AsyncRedis {

template <typename Output, typename Interval>
Future<Output> zrevrangebyscore(const StringView &key, const Interval &interval) {
return zrevrangebyscore(key, interval, {});
return zrevrangebyscore<Output>(key, interval, {});
}

template <typename Output, typename Interval, typename Callback>
Expand Down

0 comments on commit 7e79f23

Please sign in to comment.