[hyena/banshee-stable-2.6] IntervalHeap: Fix compile warning with mono 3.6.0
- From: Bertrand Lorentz <blorentz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [hyena/banshee-stable-2.6] IntervalHeap: Fix compile warning with mono 3.6.0
- Date: Mon, 25 May 2015 13:35:44 +0000 (UTC)
commit 6954383d64c577b2cb40ad961f8af35ee4372c87
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]