--- trunk/src/selection/SelectionManager.hpp 2005/02/03 23:14:05 283 +++ trunk/src/selection/SelectionManager.hpp 2005/02/04 22:39:26 288 @@ -43,7 +43,7 @@ #define SELECTION_SELECTIONMANAGER_HPP #include "utils/BitSet.hpp" - +#include "primitives/StuntDouble.hpp" namespace oopse { /** @@ -52,7 +52,7 @@ class SelectionManager { */ class SelectionManager { public: - SelectionManager(int size) {bsSelection_.resize(size); clearSelection;} + SelectionManager(int size) {bsSelection_.resize(size);} void addSelection(StuntDouble* sd) { bsSelection_.setBitOn(sd->getGlobalIndex()); @@ -100,7 +100,7 @@ class SelectionManager { } int getSelectionCount() { - bsSelection_.countBits(); + return bsSelection_.countBits(); } BitSet getSelectionSet() { @@ -110,7 +110,6 @@ class SelectionManager { private: BitSet bsSelection_; - SimInfo* info_; }; }