VirtualBox

Ignore:
Timestamp:
Apr 4, 2011 1:54:13 PM (14 years ago)
Author:
vboxsync
Message:

iprt::non_copyable -> RTCNonCopyable (now in utils.h), moved and renamed RTMemAutoPtr et al out of iprt/mem.h.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/common/VBoxGuestLib/VBoxGuestR3LibGuestProp.cpp

    r33540 r36529  
    3131#include <iprt/string.h>
    3232#ifndef VBOX_VBGLR3_XFREE86
    33 # include <iprt/mem.h>
     33# include <iprt/cpp/mem.h>
    3434#endif
    3535#include <iprt/assert.h>
     
    607607{
    608608    /* Create the handle. */
    609     RTMemAutoPtr<VBGLR3GUESTPROPENUM, VbglR3GuestPropEnumFree> Handle;
     609    RTCMemAutoPtr<VBGLR3GUESTPROPENUM, VbglR3GuestPropEnumFree> Handle;
    610610    Handle = (PVBGLR3GUESTPROPENUM)RTMemAllocZ(sizeof(VBGLR3GUESTPROPENUM));
    611611    if (!Handle)
     
    618618
    619619    /* Pack the pattern array */
    620     RTMemAutoPtr<char> Patterns;
     620    RTCMemAutoPtr<char> Patterns;
    621621    Patterns = (char *)RTMemAlloc(cchPatterns);
    622622    size_t off = 0;
     
    632632     * information. */
    633633    uint32_t cchBuf = 4096;
    634     RTMemAutoPtr<char> Buf;
     634    RTCMemAutoPtr<char> Buf;
    635635
    636636    /* In reading the guest property data we are racing against the host
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette