[hyena] IntervalHeap: Fix compile warning with mono 3.6.0



commit e7d4c4d5473c1dda48f04bb59f5fcfbbfd46291f
Author: Bertrand Lorentz <bertrand lorentz gmail com>
Date:   Fri Aug 15 13:12:45 2014 +0200

    IntervalHeap: Fix compile warning with mono 3.6.0
    
    The nested class SyncIntervalHeap has access to the private field heap,
    so its own heap field must be marked as new.

 Hyena/Hyena.Collections/IntervalHeap.cs |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/Hyena/Hyena.Collections/IntervalHeap.cs b/Hyena/Hyena.Collections/IntervalHeap.cs
index 2db698c..16fa15b 100644
--- a/Hyena/Hyena.Collections/IntervalHeap.cs
+++ b/Hyena/Hyena.Collections/IntervalHeap.cs
@@ -279,7 +279,7 @@ namespace Hyena.Collections
 
         private class SyncIntervalHeap : IntervalHeap<T>
         {
-            private IntervalHeap<T> heap;
+            private new IntervalHeap<T> heap;
 
             internal SyncIntervalHeap (IntervalHeap<T> heap)
             {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]