diff options
author | dwight <dwight@Dwights-MacBook-2.local> | 2009-02-17 19:21:01 -0500 |
---|---|---|
committer | dwight <dwight@Dwights-MacBook-2.local> | 2009-02-17 19:21:01 -0500 |
commit | 22085b0540fbfd240be55876587028955348a6a4 (patch) | |
tree | 271f766bf056308f7580886fade8b34a991ac7a1 /client | |
parent | f4a3b464ec038b3c9ae71f4c8a270558df51a8f2 (diff) | |
download | mongo-22085b0540fbfd240be55876587028955348a6a4.tar.gz |
add a couple virtual destructors just to be safe
Diffstat (limited to 'client')
-rw-r--r-- | client/dbclient.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/client/dbclient.h b/client/dbclient.h index b2d8612ba71..06d587e85d8 100644 --- a/client/dbclient.h +++ b/client/dbclient.h @@ -217,6 +217,8 @@ namespace mongo { virtual void remove( const char * ns , Query query, bool justOne = 0 ) = 0; virtual void update( const char * ns , Query query , BSONObj obj , bool upsert = 0 ) = 0; + + virtual ~DBClientInterface() { } }; /** |