diff --git a/src/engine/channelhandle.h b/src/engine/channelhandle.h index 19a6e388a68..df137b85767 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(std::move(T{})); + m_data.append(std::move(T())); } } }