fix Warning
This commit is contained in:
1 parent
593c221d23
commit
8345470273
316 files changed
+1246
-929
No files matched your search
@@ -7,6 +7,7 @@
|
||||
*/
|
||||
|
||||
#include "ppm_common.h"
|
||||
#include <utility>
|
||||
|
||||
#include <QtCore/QVector>
|
||||
#include <QDebug>
|
||||
@@ -36,7 +37,7 @@ StateInformation youngestStateInformation(const std::vector<ParticipantManagemen
|
||||
}
|
||||
|
||||
// bool readyToDebug = false;
|
||||
// for (const ParticipantManagement::StateInformation &si : qAsConst(stateList))
|
||||
// for (const ParticipantManagement::StateInformation &si : std::as_const(stateList))
|
||||
// {
|
||||
// if (si.originatorId() == 0
|
||||
// && si.originatorType() == ProjectDataManagement::StateChangeOriginator::ExerciseControl
|
||||
@@ -78,14 +79,14 @@ StateInformation youngestStateInformation(const std::vector<ParticipantManagemen
|
||||
if (debug)
|
||||
{
|
||||
qWarning() << ">> printing all SIs";
|
||||
for (const ParticipantManagement::StateInformation &si : qAsConst(sortedStateList))
|
||||
for (const ParticipantManagement::StateInformation &si : std::as_const(sortedStateList))
|
||||
qWarning() << ">>>> si" << "siVulnId" << (uint8_t)si.vulnerabilityState << "bits" << si.vulnerabilityBits << "time" << si.stateTime;
|
||||
|
||||
qWarning() << ">> checking SIs";
|
||||
}
|
||||
|
||||
|
||||
for (const ParticipantManagement::StateInformation &si : qAsConst(sortedStateList))
|
||||
for (const ParticipantManagement::StateInformation &si : std::as_const(sortedStateList))
|
||||
{
|
||||
const uint8_t siVulnId = static_cast<uint8_t>(si.vulnerabilityState);
|
||||
|
||||
|
||||
Reference in new issue
Block a user