mirror of
https://github.com/status-im/qzxing.git
synced 2025-01-14 21:14:15 +00:00
Commited old wrong file before
This commit is contained in:
parent
e000997e96
commit
db0ae28c0d
@ -87,10 +87,10 @@ VoteResult getValueWithMaxVotes(map<int, int>& votes,int expectedLength) {
|
||||
secondVote = i->first;
|
||||
result.setIndecisive(true);
|
||||
}
|
||||
if(expectedLength != 0 && result.isIndecisive()) {
|
||||
if(expectedLength != 0) {
|
||||
firstVote++;
|
||||
secondVote++;
|
||||
if(secondVote == expectedLength)
|
||||
if(secondVote == expectedLength && result.isIndecisive())
|
||||
result.setVote(secondVote);
|
||||
else
|
||||
result.setVote(firstVote);
|
||||
|
Loading…
x
Reference in New Issue
Block a user