summaryrefslogtreecommitdiff
path: root/src/shared/set.h
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2015-04-01 13:46:59 +0200
committerTom Gundersen <teg@jklm.no>2015-04-01 14:45:22 +0200
commit4a9185c4388d866ddc7c2881e5a31ddd141493af (patch)
tree237ad95a0edb348bcc86dcb4ef902b66eba232e1 /src/shared/set.h
parent340a1d2330ddc1dd18ad75bcdddf32f63c84b4a1 (diff)
shared: set - make argument to set_remove() const
Diffstat (limited to 'src/shared/set.h')
-rw-r--r--src/shared/set.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/set.h b/src/shared/set.h
index 2b49e2f287..4dffecd39d 100644
--- a/src/shared/set.h
+++ b/src/shared/set.h
@@ -57,7 +57,7 @@ static inline bool set_contains(Set *s, const void *key) {
return internal_hashmap_contains(HASHMAP_BASE(s), key);
}
-static inline void *set_remove(Set *s, void *key) {
+static inline void *set_remove(Set *s, const void *key) {
return internal_hashmap_remove(HASHMAP_BASE(s), key);
}