Revert "Make travis happy (i.e. c++11 compliant code)"

This reverts commit 14353ae5ce.
This commit is contained in:
Gitea committed 2019-09-23 00:07:54 +02:00
1 parent ff700dd75a
commit 339fedea9a
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -42,7 +42,7 @@ void BaseToneGenerator::start()
format.setCodec("audio/pcm");
format.setByteOrder(QAudioFormat::LittleEndian);
m_private = std::unique_ptr<BaseToneGeneratorPrivate>(new BaseToneGeneratorPrivate(*this, m_device, format));
m_private = std::make_unique<BaseToneGeneratorPrivate>(*this, m_device, format);
m_private->output.start(&m_private->helper);
}