Skip to content

Commit a34563e

Browse files
committed
Tightened up types
1 parent 447cdf5 commit a34563e

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

include/vsg/core/IntrusiveAllocator.h

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,10 +95,10 @@ namespace vsg
9595
using Status = decltype(status);
9696
using Index = decltype(index);
9797

98-
explicit Element(size_t in_index) :
98+
explicit Element(Index in_index) :
9999
index(static_cast<Offset>(in_index)) {}
100100

101-
Element(size_t in_previous, size_t in_next, unsigned int in_status) :
101+
Element(Offset in_previous, Offset in_next, Status in_status) :
102102
previous(static_cast<Offset>(in_previous)),
103103
next(static_cast<Offset>(in_next)),
104104
status(in_status) {}
@@ -136,6 +136,7 @@ namespace vsg
136136
size_t totalReservedSize() const;
137137
size_t totalMemorySize() const;
138138

139+
// used for debugging only.
139140
struct VSG_DECLSPEC SlotTester
140141
{
141142
SlotTester(Element* in_mem, size_t in_head) :

0 commit comments

Comments
 (0)