Changeset 55423 in vbox
- Timestamp:
- Apr 24, 2015 2:17:57 PM (10 years ago)
- Location:
- trunk/src/VBox/Main/src-client
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-client/GuestDnDSourceImpl.cpp
r55422 r55423 27 27 #include "AutoCaller.h" 28 28 29 #include <memory> /* Forunique_ptr, seee #7179. */29 #include <memory> /* For auto_ptr (deprecated) / unique_ptr, seee #7179. */ 30 30 31 31 #include <iprt/dir.h> … … 328 328 pRecvCtx->mFormat = aFormat; 329 329 330 std:: unique_ptr <RecvDataTask> pTask(new RecvDataTask(this, pRecvCtx));330 std::auto_ptr <RecvDataTask> pTask(new RecvDataTask(this, pRecvCtx)); 331 331 AssertReturn(pTask->isOk(), pTask->getRC()); 332 332 … … 700 700 LogFlowFunc(("pvUser=%p\n", pvUser)); 701 701 702 std:: unique_ptr<RecvDataTask> pTask(static_cast<RecvDataTask*>(pvUser));702 std::auto_ptr<RecvDataTask> pTask(static_cast<RecvDataTask*>(pvUser)); 703 703 AssertPtr(pTask.get()); 704 704 -
trunk/src/VBox/Main/src-client/GuestDnDTargetImpl.cpp
r55422 r55423 27 27 #include "AutoCaller.h" 28 28 29 #include <algorithm> /* For std::find(). */30 #include <memory> /* For unique_ptr, see #7179. */29 #include <algorithm> /* For std::find(). */ 30 #include <memory> /* For auto_ptr (deprecated) / unique_ptr, seee #7179. */ 31 31 32 32 #include <iprt/file.h> … … 485 485 LogFlowFunc(("pvUser=%p\n", pvUser)); 486 486 487 std:: unique_ptr<SendDataTask> pTask(static_cast<SendDataTask*>(pvUser));487 std::auto_ptr<SendDataTask> pTask(static_cast<SendDataTask*>(pvUser)); 488 488 AssertPtr(pTask.get()); 489 489 … … 544 544 pSendCtx->mData = aData; 545 545 546 std:: unique_ptr<SendDataTask> pTask(new SendDataTask(this, pSendCtx));546 std::auto_ptr<SendDataTask> pTask(new SendDataTask(this, pSendCtx)); 547 547 AssertReturn(pTask->isOk(), pTask->getRC()); 548 548
Note:
See TracChangeset
for help on using the changeset viewer.