fix Warning
This commit is contained in:
1 parent
593c221d23
commit
8345470273
316 files changed
+1246
-929
No files matched your search
@@ -6,6 +6,7 @@
|
||||
*/
|
||||
|
||||
#include "object_operator.h"
|
||||
#include <utility>
|
||||
|
||||
#include "main_handler.h"
|
||||
#include <LtsUtilsCore/dds_vector.h>
|
||||
@@ -292,7 +293,7 @@ QSet<int> ObjectOperator::calculateEffectiveAcls() const
|
||||
QSet<int> allowances;
|
||||
QSet<int> denials;
|
||||
|
||||
for (int group : qAsConst(effectiveGroups))
|
||||
for (int group : std::as_const(effectiveGroups))
|
||||
{
|
||||
addValuesToSet(allowMap, group, allowances);
|
||||
addValuesToSet(denyMap, group, denials);
|
||||
@@ -352,8 +353,6 @@ std::vector<OperatorManagement::PartiesByExercise> ObjectOperator::toDdsData(con
|
||||
{
|
||||
PartiesByExercise pbe;
|
||||
pbe.exerciseId = ooe.exerciseId;
|
||||
pbe.visibleParties;
|
||||
pbe.hiddenParties;
|
||||
std::vector<int> visibleParty;
|
||||
for (const auto &elem : ooe.visibleParties())
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user