make the avl node key const
This commit is contained in:
parent
89122a2c1e
commit
3041e8ce9b
1 changed files with 1 additions and 1 deletions
2
avl.h
2
avl.h
|
@ -82,7 +82,7 @@ struct avl_node {
|
||||||
/**
|
/**
|
||||||
* pointer to key of node
|
* pointer to key of node
|
||||||
*/
|
*/
|
||||||
void *key;
|
const void *key;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* balance state of AVL tree (0,-1,+1)
|
* balance state of AVL tree (0,-1,+1)
|
||||||
|
|
Loading…
Reference in a new issue