--- queensgui/src/solutionmnvector.cpp 2007/07/19 21:34:15 1 +++ queensgui/src/solutionmnvector.cpp 2007/07/19 22:26:42 2 @@ -31,7 +31,7 @@ void SolutionMNVector::uniqueSolutions() { - std::vector buf; + std::vector buf; buf.reserve(solutions.size() / 10); for (unsigned int i=0; icopy() ; - if (tmp == buf[j]) + if (*tmp == *buf[j]) break; - tmp.rotate90(); + tmp->rotate90(); if (tmp == buf[j]) break; - tmp.rotate90(); - if (tmp == buf[j]) + tmp->rotate90(); + if (*tmp == *buf[j]) break; - tmp.rotate90(); - if (tmp == buf[j]) + tmp->rotate90(); + if (*tmp == *buf[j]) break; - tmp.mirror(); - if (tmp == buf[j]) + tmp->mirror(); + if (*tmp == *buf[j]) break; - tmp.rotate90(); - if (tmp == buf[j]) + tmp->rotate90(); + if (*tmp == *buf[j]) break; - tmp.rotate90(); - if (tmp == buf[j]) + tmp->rotate90(); + if (*tmp == *buf[j]) break; - tmp.rotate90(); - if (tmp == buf[j]) + tmp->rotate90(); + if (*tmp == *buf[j]) break; } if ( j == buf.size() ) @@ -82,4 +82,5 @@ } } solutions = buf; + }