Skip to content

Commit

Permalink
Wording update
Browse files Browse the repository at this point in the history
  • Loading branch information
Bret Ambrose committed Oct 25, 2023
1 parent 40fa916 commit 8c24f42
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions include/aws/common/priority_queue.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand Down

0 comments on commit 8c24f42

Please sign in to comment.