VirtualBox

Changeset 82804 in vbox for trunk/include/iprt


Ignore:
Timestamp:
Jan 21, 2020 1:28:19 AM (5 years ago)
Author:
vboxsync
Message:

iprt/ministring.h: Attempt at fixing VBOX_WITH_EF_WRAPS compilation in places where RT_NEED_NEW_AND_DELETE is also set.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/iprt/cpp/ministring.h

    r80779 r82804  
    7070{
    7171public:
    72 #ifdef RT_NEED_NEW_AND_DELETE
     72#if defined(RT_NEED_NEW_AND_DELETE) && (  !defined(RTMEM_WRAP_SOME_NEW_AND_DELETE_TO_EF) \
     73                                        || defined(RTMEM_NO_WRAP_SOME_NEW_AND_DELETE_TO_EF))
    7374    RTMEM_IMPLEMENT_NEW_AND_DELETE();
     75#else
     76    RTMEMEF_NEW_AND_DELETE_OPERATORS();
    7477#endif
    7578
     
    295298        cleanup();
    296299    }
    297 
    298     RTMEMEF_NEW_AND_DELETE_OPERATORS();
    299300
    300301    /**
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