0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-12-01 09:32:32 +01:00

dont assert in destructor

This commit is contained in:
Dwight 2011-05-04 13:13:38 -04:00
parent 4639c271b8
commit 2b7145944b

View File

@ -43,7 +43,7 @@ namespace mongo {
T *_next;
public:
Base() : _next(0){}
~Base() { assert(false); } // we never want this to happen
~Base() { wassert(false); } // we never want this to happen
T* next() const { return _next; }
};