summaryrefslogtreecommitdiffstats
path: root/kd-forest.h
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2014-08-04 14:39:12 -0400
committerTavian Barnes <tavianator@tavianator.com>2014-08-04 14:39:12 -0400
commit8e5774ee9f5296dcbc831897dbf55f3031e3d348 (patch)
tree4cb7cb5183613124942afaec6a4efd622008e6ca /kd-forest.h
parent25d1e5341b34db0855c2dd2823a2f2af94093803 (diff)
downloadkd-forest-8e5774ee9f5296dcbc831897dbf55f3031e3d348.tar.xz
More constness.
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 3607903..10756a2 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, double target[KD_DIMEN]);
+kd_node_t *kdf_find_nearest(const kd_forest_t *kdf, const double target[KD_DIMEN]);
#endif // KD_FOREST_H