VirtualBox

Changeset 48782 in vbox


Ignore:
Timestamp:
Oct 1, 2013 2:51:16 AM (11 years ago)
Author:
vboxsync
Message:

Missed one macro.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/iprt/list.h

    r48781 r48782  
    307307#define RTListForEachCpp(pList, pIterator, Type, Member) \
    308308    for (pIterator = RTListNodeGetNextCpp(pList, Type, Member); \
    309          !RTListNodeIsDummy(pList, pIterator, Type, Member); \
     309         !RTListNodeIsDummyCpp(pList, pIterator, Type, Member); \
    310310         pIterator = RT_FROM_CPP_MEMBER((pIterator)->Member.pNext, Type, Member) )
    311311
     
    332332    for (pIterator = RTListNodeGetNextCpp(pList, Type, Member), \
    333333         pIterNext = RT_FROM_CPP_MEMBER((pIterator)->Member.pNext, Type, Member); \
    334          !RTListNodeIsDummy(pList, pIterator, Type, Member); \
     334         !RTListNodeIsDummyCpp(pList, pIterator, Type, Member); \
    335335         pIterator = pIterNext, \
    336336         pIterNext = RT_FROM_CPP_MEMBER((pIterator)->Member.pNext, Type, Member) )
     
    352352#define RTListForEachReverseCpp(pList, pIterator, Type, Member) \
    353353    for (pIterator = RTListNodeGetPrevCpp(pList, Type, Member); \
    354          !RTListNodeIsDummy(pList, pIterator, Type, Member); \
     354         !RTListNodeIsDummyCpp(pList, pIterator, Type, Member); \
    355355         pIterator = RT_FROM_CPP_MEMBER((pIterator)->Member.pPrev, Type, Member) )
    356356
     
    376376    for (pIterator = RTListNodeGetPrevCpp(pList, Type, Member), \
    377377         pIterPrev = RT_FROM_CPP_MEMBER((pIterator)->Member.pPrev, Type, Member); \
    378          !RTListNodeIsDummy(pList, pIterator, Type, Member); \
     378         !RTListNodeIsDummyCpp(pList, pIterator, Type, Member); \
    379379         pIterator = pIterPrev, \
    380380         pIterPrev = RT_FROM_CPP_MEMBER((pIterator)->Member.pPrev, Type, Member) )
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