Skip to content

Commit

Permalink
changed to 4.5 compatible
Browse files Browse the repository at this point in the history
  • Loading branch information
Buote Xu authored and Buote Xu committed Jun 1, 2012
1 parent d45e8dc commit 9872ac9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion include/fbi/variadic/fbi.h
Original file line number Diff line number Diff line change
Expand Up @@ -879,7 +879,8 @@ SetB {
);

#ifndef __LIBFBI_USE_SET_FOR_RESULT__
for (auto& vec : resultVector) {
for (ResultType::size_type i = 0; i < resultVector.size(); ++i) {
ResultType::value_type & vec = resultVector[i];
std::sort(vec.begin(), vec.end());
vec.resize(std::unique(vec.begin(), vec.end()) - vec.begin());
}
Expand Down

0 comments on commit 9872ac9

Please sign in to comment.