From 1194a6b1f08ce2a3c809091405bcf4290a9541f9 Mon Sep 17 00:00:00 2001 From: Alexander Pacha Date: Tue, 23 Apr 2019 23:18:26 +0200 Subject: [PATCH] Partially reverting PR - Removing readonly keyword, because it requires C# 7.2 which might not be available to all users yet, that want to use RangeTree. --- RangeTree/RangeValuePair.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RangeTree/RangeValuePair.cs b/RangeTree/RangeValuePair.cs index 2a5f200..d27d1be 100644 --- a/RangeTree/RangeValuePair.cs +++ b/RangeTree/RangeValuePair.cs @@ -8,7 +8,7 @@ namespace RangeTree /// Both values must be of the same type and comparable. /// /// Type of the values. - public readonly struct RangeValuePair : IEquatable> + public struct RangeValuePair : IEquatable> { public TKey From { get; } public TKey To { get; }