--- queensgui/src/containermnvector.cpp 2007/07/20 01:22:53 5 +++ queensgui/src/containermnvector.cpp 2007/07/20 09:54:09 6 @@ -19,6 +19,8 @@ ***************************************************************************/ #include "containermnvector.h" +#include + ContainerMNVector::ContainerMNVector(GUIUpdate* update) : ContainerVector(update) { @@ -31,7 +33,7 @@ void ContainerMNVector::uniqueSolutions() { - std::vector buf; + std::vector< boost::shared_ptr > buf; buf.reserve(solutions.size() / 10); for (unsigned int i=0; icopy() ; + std::auto_ptr tmp ( solutions[i]->copy() ) ; if (*tmp == *buf[j]) break; tmp->rotate90(); - if (tmp == buf[j]) + if ( *tmp == *buf[j]) break; tmp->rotate90();