From 99cae6357340849c6cd3a48c0d23533389415079 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 11 Jan 2019 20:01:57 +0100 Subject: Fix serd_stack_is_empty() const correctness --- src/stack.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/stack.h b/src/stack.h index c703fce4..cf2d4f26 100644 --- a/src/stack.h +++ b/src/stack.h @@ -45,7 +45,7 @@ serd_stack_new(size_t size) } static inline bool -serd_stack_is_empty(SerdStack* stack) +serd_stack_is_empty(const SerdStack* stack) { return stack->size <= SERD_STACK_BOTTOM; } -- cgit v1.2.1