Remove qFill usages from uic
QtAlgorithms is getting deprecated, see http://www.mail-archive.com/development@qt-project.org/msg01603.html Change-Id: I58d0c78609381b20ffe8a68e36c8216689362ed5 Reviewed-by: Marc Mutz <marc.mutz@kdab.com> Reviewed-by: Olivier Goffart <ogoffart@woboq.com>bb10
parent
8b0624182b
commit
549c3248ec
|
|
@ -51,6 +51,8 @@
|
|||
#include <qtextstream.h>
|
||||
#include <qdebug.h>
|
||||
|
||||
#include <algorithm>
|
||||
|
||||
#include <ctype.h>
|
||||
|
||||
QT_BEGIN_NAMESPACE
|
||||
|
|
@ -362,8 +364,8 @@ int SizePolicyHandle::compare(const SizePolicyHandle &rhs) const
|
|||
|
||||
WriteInitialization::LayoutDefaultHandler::LayoutDefaultHandler()
|
||||
{
|
||||
qFill(m_state, m_state + NumProperties, 0u);
|
||||
qFill(m_defaultValues, m_defaultValues + NumProperties, 0);
|
||||
std::fill_n(m_state, int(NumProperties), 0u);
|
||||
std::fill_n(m_defaultValues, int(NumProperties), 0);
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue