static inline void checkInvalidDelete(RefCountImplCore *);
checkInvalidDelete checks for any invalid calls of 'delete' on reference counted objects.