summaryrefslogtreecommitdiff
path: root/odb_test.go
diff options
context:
space:
mode:
authorPatrick Steinhardt <[email protected]>2015-04-24 09:35:58 +0200
committerPatrick Steinhardt <[email protected]>2015-05-22 09:02:24 +0200
commit0a336e4abdd7c949c9dd38037165e6a16c7d7ebf (patch)
treefb47d9f3845a936fbebb883bfd7325d19e9eda7d /odb_test.go
parentde45a4b8ed991cd46e64a1836e25dd9b182c821f (diff)
handles: start slot indices with 1
Using 0 as the first slot indice leads to not being able to differentiate between a handle to the first element or a NULL-handle. As current code may check whether the pointer is NULL, change the first indice to be 1 instead.
Diffstat (limited to 'odb_test.go')
0 files changed, 0 insertions, 0 deletions