summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Maps.WP8/MapRenderer.cs
diff options
context:
space:
mode:
authorkingces95 <kingces95@users.noreply.github.com>2016-04-13 16:15:21 (GMT)
committerRui Marinho <me@ruimarinho.net>2016-04-13 16:15:21 (GMT)
commit5809eb5d4e7cd5f596ed7ad0c0265605b9c9600e (patch)
tree85e92cd250eac4ad53a393d46e348d5ef71c5c1d /Xamarin.Forms.Maps.WP8/MapRenderer.cs
parent5569e3072d98c437a8f0cc91ef7479051136217f (diff)
downloadxamarin-forms-5809eb5d4e7cd5f596ed7ad0c0265605b9c9600e.zip
xamarin-forms-5809eb5d4e7cd5f596ed7ad0c0265605b9c9600e.tar.gz
xamarin-forms-5809eb5d4e7cd5f596ed7ad0c0265605b9c9600e.tar.bz2
Maps.WP8 warning as error mop up (#79)
Diffstat (limited to 'Xamarin.Forms.Maps.WP8/MapRenderer.cs')
-rw-r--r--Xamarin.Forms.Maps.WP8/MapRenderer.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Xamarin.Forms.Maps.WP8/MapRenderer.cs b/Xamarin.Forms.Maps.WP8/MapRenderer.cs
index eaac51d..34cb05f 100644
--- a/Xamarin.Forms.Maps.WP8/MapRenderer.cs
+++ b/Xamarin.Forms.Maps.WP8/MapRenderer.cs
@@ -163,7 +163,7 @@ namespace Xamarin.Forms.Maps.WP8
void RemovePin(Pin pin)
{
- var child = _pushPinLayer.FirstOrDefault(p => ((Pushpin)p.Content).Tag == pin);
+ var child = _pushPinLayer.FirstOrDefault(p => ((Pushpin)p.Content).Tag == (object)pin);
if (child != null)
_pushPinLayer.Remove(child);
}