[CXX-276] Warning: deletion of pointer to incomplete type Created: 07/Jul/14  Updated: 08/Jul/14  Resolved: 08/Jul/14

Status: Closed
Project: C++ Driver
Component/s: Implementation, Portability
Affects Version/s: legacy-0.10.0
Fix Version/s: legacy-0.11.0

Type: Bug Priority: Blocker - P1
Reporter: Tyler Brock Assignee: Andrew Morrow (Inactive)
Resolution: Done Votes: 0
Labels: legacy-cxx
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\xmemory(951) : warning C4150: deletion of pointer to incomplete type 'mongo::DBClientCursor'; no destructor called
        C:\mongo-cxx-driver\src\mongo/client/dbclientinterface.h(356) : see declaration of 'mongo::DBClientCursor'
        C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\xmemory(950) : while compiling class template member function 'std::auto_ptr<mongo::DBClientCursor>::~auto_ptr(void) throw()'
        C:\mongo-cxx-driver\src\mongo/client/dbclientinterface.h(1553) : see reference to function template instantiation 'std::auto_ptr<mongo::DBClientCursor>::~auto_ptr(void) throw()' being compiled
        C:\mongo-cxx-driver\src\mongo/client/dbclientinterface.h(1551) : see reference to class template instantiation 'std::auto_
ptr<mongo::DBClientCursor>' being compiled



 Comments   
Comment by Githook User [ 08/Jul/14 ]

Author:

{u'username': u'acmorrow', u'name': u'Andrew Morrow', u'email': u'acm@mongodb.com'}

Message: CXX-276 Fix warning about auto_ptr to incomplete type
Branch: legacy
https://github.com/mongodb/mongo-cxx-driver/commit/1b62980220d4f55d3a2759f605d6590a9854e3b2

Comment by Andrew Morrow (Inactive) [ 07/Jul/14 ]

https://github.com/mongodb/mongo-cxx-driver/pull/118

Generated at Wed Feb 07 21:58:44 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.