Skip to content

Commit

Permalink
Repaired compilation on Linux.
Browse files Browse the repository at this point in the history
Linux apparently requires a template in a set constructor.
  • Loading branch information
jgroote authored and mlaveaux committed Jun 12, 2021
1 parent 18cc3a3 commit 54fa148
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/lps/source/linearise.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3245,7 +3245,7 @@ class specification_basic_type
assert(check_valid_process_instance_assignment(procId,assignment_list(new_assignment.begin(),new_assignment.end())));
newbody=seq(process_instance_assignment(procId,assignment_list(new_assignment.begin(),new_assignment.end())),newbody);
const variable_list result=pars1+pars;
assert(std::set(result.begin(),result.end()).size()==result.size()); // all elements in the result are unique.
assert(std::set<variable>(result.begin(),result.end()).size()==result.size()); // all elements in the result are unique.
return result;
}
else
Expand Down

0 comments on commit 54fa148

Please sign in to comment.