summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVitor Sousa <vitorsousasilva@gmail.com>2017-06-09 15:52:24 -0300
committerFelipe Magno de Almeida <felipe@expertisesolutions.com.br>2017-07-13 18:25:44 -0300
commit431299c99d5a7b40e64b64e8e5ec4aed914de623 (patch)
tree729e992d2a8404aa975b9111d05e4a46117b0ec1
parent5315ce15edb8d3dc800a6f4d290a92dc5e2404a0 (diff)
eina_mono: remove unnecessary constructor
-rw-r--r--src/bindings/mono/eina_mono/eina_container_common.cs9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/bindings/mono/eina_mono/eina_container_common.cs b/src/bindings/mono/eina_mono/eina_container_common.cs
index f9c6f082fe..17b59cbea1 100644
--- a/src/bindings/mono/eina_mono/eina_container_common.cs
+++ b/src/bindings/mono/eina_mono/eina_container_common.cs
@@ -253,15 +253,6 @@ public abstract class PrimitiveElementTraits<T>
253{ 253{
254 private Eina_Compare_Cb dlgt = null; 254 private Eina_Compare_Cb dlgt = null;
255 255
256 public PrimitiveElementTraits()
257 {
258 if (intPtrTraits == null)
259 if (typeof(T) == typeof(IntPtr)) // avoid infinite recursion
260 intPtrTraits = (IBaseElementTraits<IntPtr>)this;
261 else
262 intPtrTraits = TraitFunctions.GetTypeTraits<IntPtr>();
263 }
264
265 public IntPtr ManagedToNativeAlloc(T man) 256 public IntPtr ManagedToNativeAlloc(T man)
266 { 257 {
267 GCHandle pinnedData = GCHandle.Alloc(man, GCHandleType.Pinned); 258 GCHandle pinnedData = GCHandle.Alloc(man, GCHandleType.Pinned);