workaroud warning as error CS0067 The event is never used

closes #6101
This commit is contained in:
Matthias Mailänder
2014-08-23 09:53:12 +02:00
parent 834bc3ba24
commit a4ed71bf84
2 changed files with 6 additions and 0 deletions

View File

@@ -34,8 +34,11 @@ namespace OpenRA.Primitives
public event Action<object> OnAdd = k => { };
public event Action<object> OnRemove = k => { };
// TODO Workaround for https://github.com/OpenRA/OpenRA/issues/6101
#pragma warning disable 67
public event Action<int> OnRemoveAt = i => { };
public event Action<object, object> OnSet = (o, n) => { };
#pragma warning restore
public event Action OnRefresh = () => { };
protected void FireOnRefresh()