Commit 73c5b9f7 authored by pwrdwnsys's avatar pwrdwnsys

update comment

parent b78b973a
...@@ -289,7 +289,7 @@ void BTreeImpl::growTree(uint minCapacity) { ...@@ -289,7 +289,7 @@ void BTreeImpl::growTree(uint minCapacity) {
// are usually alternatives. // are usually alternatives.
#if __APPLE__ || __BIONIC__ || __OpenBSD__ #if __APPLE__ || __BIONIC__ || __OpenBSD__
// OSX and Android lack aligned_alloc(), but have posix_memalign(). Fine. // macOS, OpenBSD, and Android lack aligned_alloc(), but have posix_memalign(). Fine.
void* allocPtr; void* allocPtr;
int error = posix_memalign(&allocPtr, int error = posix_memalign(&allocPtr,
sizeof(BTreeImpl::NodeUnion), newCapacity * sizeof(BTreeImpl::NodeUnion)); sizeof(BTreeImpl::NodeUnion), newCapacity * sizeof(BTreeImpl::NodeUnion));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment