diff options
author | David Robillard <d@drobilla.net> | 2019-01-11 20:01:57 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2019-04-13 19:48:23 +0200 |
commit | 99cae6357340849c6cd3a48c0d23533389415079 (patch) | |
tree | b31ee46204e9276ae42bcd39222ce5e541d19428 | |
parent | 586f838e5f75924e1e2cedf3d4076234b4a8c4b5 (diff) | |
download | serd-99cae6357340849c6cd3a48c0d23533389415079.tar.gz serd-99cae6357340849c6cd3a48c0d23533389415079.tar.bz2 serd-99cae6357340849c6cd3a48c0d23533389415079.zip |
Fix serd_stack_is_empty() const correctness
-rw-r--r-- | src/stack.h | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |