]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/hashmap.h
suppress warning about not being able to generate copy ctor/operator=()
[wxWidgets.git] / include / wx / hashmap.h
index 23e685dd2d9484978ccf0b994b3983f6e22a8d81..896cd12db0b54f63edf1572bd100532c381101c4 100644 (file)
@@ -74,13 +74,7 @@ protected:
 
     static void** AllocTable( size_t sz )
     {
-#ifdef __WXWINCE__
-        void** ptr = (void **)malloc(sz * sizeof(void*));
-        memset( ptr, 0, sz * sizeof(void*));
-        return ptr;
-#else
         return (void **)calloc(sz, sizeof(void*));
-#endif
     }
 };