--- trunk/OOPSE-4/src/utils/GenericData.hpp 2005/02/21 15:21:54 2054 +++ trunk/OOPSE-4/src/utils/GenericData.hpp 2005/03/01 20:10:14 2069 @@ -182,12 +182,12 @@ namespace oopse{ * @template ElemDataType */ template - class VectorTypeData : public GenericData, public std::vector{ + class VectorTypeData : public GenericData { public: typedef VectorTypeData SelfType; VectorTypeData(const std::string& id) - : GenericData(id), std::vector() {} + : GenericData(id){} VectorTypeData(const SelfType& s) : SelfType(s){} @@ -195,9 +195,12 @@ namespace oopse{ if (this == &s) return *this; - VectorTypeData::operator=(s); + this->data_ = s.data_; return *this; } + + private: + std::vector data_; }; /**