/[projects]/queensgui/src/containervector.cpp
ViewVC logotype

Diff of /queensgui/src/containervector.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 14 by torben, Fri Jul 20 09:54:09 2007 UTC revision 15 by torben, Wed Jul 25 19:39:37 2007 UTC
# Line 24  Line 24 
24    
25  ContainerVector::ContainerVector(GUIUpdate* update) : SolutionContainer(update)  ContainerVector::ContainerVector(GUIUpdate* update) : SolutionContainer(update)
26  {  {
27      total = -1;      total = 0;
28  }  }
29    
30    
# Line 94  void ContainerVector::uniqueSolutionsWor Line 94  void ContainerVector::uniqueSolutionsWor
94  void ContainerVector::addSolution(Solution* sol)  void ContainerVector::addSolution(Solution* sol)
95  {  {
96      solutions.push_back( boost::shared_ptr<Solution>(sol) );        solutions.push_back( boost::shared_ptr<Solution>(sol) );  
97            total++;
98  }  }
99    
100  Solution* ContainerVector::solution(int index)  Solution* ContainerVector::solution(int index)

Legend:
Removed from v.14  
changed lines
  Added in v.15

  ViewVC Help
Powered by ViewVC 1.1.20