From cd1ea8629e5e9c3f647b4a7f7840f66dfe649662 Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Wed, 12 Mar 2014 16:42:03 -0400 Subject: Be more const friendly. --- kd-forest.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'kd-forest.h') diff --git a/kd-forest.h b/kd-forest.h index 75d8666..4cf5750 100644 --- a/kd-forest.h +++ b/kd-forest.h @@ -51,6 +51,6 @@ void kdf_init(kd_forest_t *kdf); void kdf_destroy(kd_forest_t *kdf); void kdf_insert(kd_forest_t *kdf, kd_node_t *node); void kdf_remove(kd_forest_t *kdf, kd_node_t *node); -kd_node_t *kdf_find_nearest(kd_forest_t *kdf, kd_node_t *target); +kd_node_t *kdf_find_nearest(kd_forest_t *kdf, const kd_node_t *target); #endif // KD_FOREST_H -- cgit v1.2.3