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:
parent
4639c271b8
commit
2b7145944b
@ -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; }
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user