diff --git a/src/engine/channelhandle.h b/src/engine/channelhandle.h index f8d70ef033b..f8450dfa6e2 100644 --- a/src/engine/channelhandle.h +++ b/src/engine/channelhandle.h @@ -160,7 +160,7 @@ class ChannelHandleMap { typedef typename QVarLengthArray::iterator iterator; ChannelHandleMap() - : m_dummy{} { + : m_dummy() { } const T& at(const ChannelHandle& handle) const { @@ -219,7 +219,7 @@ class ChannelHandleMap { } else { // We need to initialize simple types ourselves while (m_data.size() < iSize) { - m_data.append({}); + m_data.append(T()); } } }