diff options
author | Tom Gundersen <teg@jklm.no> | 2015-04-01 13:46:59 +0200 |
---|---|---|
committer | Tom Gundersen <teg@jklm.no> | 2015-04-01 14:45:22 +0200 |
commit | 4a9185c4388d866ddc7c2881e5a31ddd141493af (patch) | |
tree | 237ad95a0edb348bcc86dcb4ef902b66eba232e1 /src/shared | |
parent | 340a1d2330ddc1dd18ad75bcdddf32f63c84b4a1 (diff) |
shared: set - make argument to set_remove() const
Diffstat (limited to 'src/shared')
-rw-r--r-- | src/shared/set.h | 2 |
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); } |