From 8c24f420a04e2adcae5c81195781e9871fb8d567 Mon Sep 17 00:00:00 2001 From: Bret Ambrose Date: Wed, 25 Oct 2023 10:35:21 -0700 Subject: [PATCH] Wording update --- include/aws/common/priority_queue.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/include/aws/common/priority_queue.h b/include/aws/common/priority_queue.h index a3434091b..e29347782 100644 --- a/include/aws/common/priority_queue.h +++ b/include/aws/common/priority_queue.h @@ -84,10 +84,7 @@ void aws_priority_queue_init_static( aws_priority_queue_compare_fn *pred); /** - * Initializes a queue node to a default value that indicates the node is not in the queue. If we used the - * classical indexing for array-based heaps (starting at 1) we wouldn't need this, but because zero is a valid node - * index and we use SIZE_MAX as "not-in-the-heap" we need an init so that people aren't hard-coding magic SIZE_MAXs - * around all over the place. + * Initializes a queue node to a default value that indicates the node is not in the queue. * * @param node priority queue node to initialize with a default value */