diff --git a/src/corelib/tools/qarraydata.h b/src/corelib/tools/qarraydata.h index 90503786e4..dd2b777ed7 100644 --- a/src/corelib/tools/qarraydata.h +++ b/src/corelib/tools/qarraydata.h @@ -101,10 +101,6 @@ struct Q_CORE_EXPORT QArrayData AllocationOptions detachFlags() const { AllocationOptions result; -#if QT_SUPPORTS(UNSHARABLE_CONTAINERS) - if (!ref.isSharable()) - result |= Unsharable; -#endif if (capacityReserved) result |= CapacityReserved; return result;