Skip to content

Commit

Permalink
Make GeoRadiusResult constructor public to make it mockable
Browse files Browse the repository at this point in the history
  • Loading branch information
firenero authored and NickCraver committed Sep 27, 2019
1 parent ea6093e commit 7f56a80
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/StackExchange.Redis/GeoEntry.cs
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ public readonly struct GeoRadiusResult
/// <param name="distance">Tthe distance from the result.</param>
/// <param name="hash">The hash of the result.</param>
/// <param name="position">The geo position of the result.</param>
internal GeoRadiusResult(in RedisValue member, double? distance, long? hash, GeoPosition? position)
public GeoRadiusResult(in RedisValue member, double? distance, long? hash, GeoPosition? position)
{
Member = member;
Distance = distance;
Expand Down

0 comments on commit 7f56a80

Please sign in to comment.