diff --git a/src/gpgmm/common/MemoryAllocation.h b/src/gpgmm/common/MemoryAllocation.h index b3d93f23f..8847fbe1f 100644 --- a/src/gpgmm/common/MemoryAllocation.h +++ b/src/gpgmm/common/MemoryAllocation.h @@ -26,29 +26,29 @@ namespace gpgmm { */ enum AllocationMethod { + /** \brief Not yet allocated or invalid. + + This is an invalid state that assigned temporary before the actual method is known. + */ + kUndefined = 0, + /** \brief Not sub-divided. One and only one allocation exists for the memory. */ - kStandalone = 0x0, + kStandalone = 1, /** \brief Sub-divided using one or more allocations. Underlying memory will be broken up into one or more memory allocations. */ - kSubAllocated = 0x2, + kSubAllocated = 2, /** \brief Sub-divided within a single memory allocation. A single memory allocation will be broken into one or more sub-allocations. */ - kSubAllocatedWithin = 0x4, - - /** \brief Not yet allocated or invalid. - - This is an invalid state that assigned temporary before the actual method is known. - */ - kUndefined = 0x8 + kSubAllocatedWithin = 3, }; struct MemoryBlock;