summaryrefslogtreecommitdiffstats
path: root/kd-forest.h
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2014-03-12 16:42:03 -0400
committerTavian Barnes <tavianator@tavianator.com>2014-03-12 16:42:03 -0400
commitcd1ea8629e5e9c3f647b4a7f7840f66dfe649662 (patch)
tree6e86749a9c93c9e2c3c378f1a3a92a4e8878e04d /kd-forest.h
parent51fdafaf03cd7891121047035b5153832c1992a9 (diff)
downloadkd-forest-cd1ea8629e5e9c3f647b4a7f7840f66dfe649662.tar.xz
Be more const friendly.
Diffstat (limited to 'kd-forest.h')
-rw-r--r--kd-forest.h2
1 files changed, 1 insertions, 1 deletions
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