QArrayDataOps: do not use QTypeInfo::isStatic anymore
These days, QTypeInfoQuery and isRelocatable should be used. Change-Id: Ieac2d7fcef6b1d5466b14bbd1066901d6e751a55 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>bb10
parent
3b38392844
commit
e0a9a0e217
|
|
@ -412,7 +412,7 @@ struct QArrayOpsSelector
|
|||
template <class T>
|
||||
struct QArrayOpsSelector<T,
|
||||
typename std::enable_if<
|
||||
!QTypeInfo<T>::isComplex && !QTypeInfo<T>::isStatic
|
||||
!QTypeInfoQuery<T>::isComplex && QTypeInfoQuery<T>::isRelocatable
|
||||
>::type>
|
||||
{
|
||||
typedef QPodArrayOps<T> Type;
|
||||
|
|
@ -421,7 +421,7 @@ struct QArrayOpsSelector<T,
|
|||
template <class T>
|
||||
struct QArrayOpsSelector<T,
|
||||
typename std::enable_if<
|
||||
QTypeInfo<T>::isComplex && !QTypeInfo<T>::isStatic
|
||||
QTypeInfoQuery<T>::isComplex && QTypeInfoQuery<T>::isRelocatable
|
||||
>::type>
|
||||
{
|
||||
typedef QMovableArrayOps<T> Type;
|
||||
|
|
|
|||
Loading…
Reference in New Issue