VirtualBox

Changeset 34785 in vbox


Ignore:
Timestamp:
Dec 7, 2010 2:48:46 PM (14 years ago)
Author:
vboxsync
Message:

iprt/cpp/ministring.h,VBox/com/string.h: Use RTMEMEF_NEW_AND_DELETE_OPERATORS.

Location:
trunk/include
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/com/string.h

    r34242 r34785  
    4545#include "VBox/com/assert.h"
    4646
    47 #include <iprt/alloc.h>
     47#include <iprt/mem.h>
    4848#include <iprt/cpp/ministring.h>
    4949
     
    159159    }
    160160
     161    RTMEMEF_NEW_AND_DELETE_OPERATORS();
     162
    161163    /** Case sensitivity selector. */
    162164    enum CaseSensitivity
     
    479481    }
    480482
     483    RTMEMEF_NEW_AND_DELETE_OPERATORS();
     484
    481485#if defined(VBOX_WITH_XPCOM)
    482486    /**
     
    576580    }
    577581
     582    RTMEMEF_NEW_AND_DELETE_OPERATORS();
     583
    578584protected:
    579585    Utf8StrFmt()
     
    604610        va_end(args);
    605611    }
     612
     613    RTMEMEF_NEW_AND_DELETE_OPERATORS();
    606614};
    607615
     
    624632        copyFrom(Utf8Str(aFormat, aArgs).c_str());
    625633    }
     634
     635    RTMEMEF_NEW_AND_DELETE_OPERATORS();
    626636};
    627637
  • trunk/include/iprt/cpp/ministring.h

    r33862 r34785  
    246246    }
    247247
     248    RTMEMEF_NEW_AND_DELETE_OPERATORS();
     249
    248250    /**
    249251     * Assigns a copy of pcsz to "this".
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