fix Warning
This commit is contained in:
1 parent
593c221d23
commit
8345470273
316 files changed
+1246
-929
No files matched your search
@@ -8,6 +8,7 @@
|
||||
*/
|
||||
|
||||
#include "ava_state.h"
|
||||
#include <utility>
|
||||
#include "ava_session.h"
|
||||
#include "ava_control.h"
|
||||
#include "av_helper.h"
|
||||
@@ -40,7 +41,7 @@ AvaState::AvaState(AvaSession *session)
|
||||
QStringList AvaState::currentLiveVideoStreams() const
|
||||
{
|
||||
QStringList streams;
|
||||
for (const QMap<QString, AvaStreamState> &map : qAsConst(m_videoState))
|
||||
for (const QMap<QString, AvaStreamState> &map : std::as_const(m_videoState))
|
||||
{
|
||||
const QList<QString> streamNames = map.keys();
|
||||
for (const QString &streamName : streamNames)
|
||||
|
||||
Reference in new issue
Block a user