Skip to content

Commit

Permalink
Fixed preview update with certain zaps
Browse files Browse the repository at this point in the history
  • Loading branch information
ousnius committed Nov 10, 2015
1 parent 5e59973 commit 729a6e7
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions DiffData.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -218,8 +218,9 @@ void DiffDataSets::GetDiffIndices(const string& set, const string& target, vecto
outIndices.push_back(resultIt->first);
}
}
std::sort(outIndices.begin(), outIndices.end());
std::unique(outIndices.begin(), outIndices.end());

sort(outIndices.begin(), outIndices.end());
outIndices.erase(unique(outIndices.begin(), outIndices.end()), outIndices.end());
}

void DiffDataSets::ClearSet(const string& name) {
Expand Down

0 comments on commit 729a6e7

Please sign in to comment.