From 4a9185c4388d866ddc7c2881e5a31ddd141493af Mon Sep 17 00:00:00 2001 From: Tom Gundersen Date: Wed, 1 Apr 2015 13:46:59 +0200 Subject: [PATCH] shared: set - make argument to set_remove() const --- src/shared/set.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/shared/set.h b/src/shared/set.h index 2b49e2f28..4dffecd39 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); } -- 2.30.2