aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2019-01-11 20:01:57 +0100
committerDavid Robillard <d@drobilla.net>2019-04-13 19:48:23 +0200
commit99cae6357340849c6cd3a48c0d23533389415079 (patch)
treeb31ee46204e9276ae42bcd39222ce5e541d19428 /src
parent586f838e5f75924e1e2cedf3d4076234b4a8c4b5 (diff)
downloadserd-99cae6357340849c6cd3a48c0d23533389415079.tar.gz
serd-99cae6357340849c6cd3a48c0d23533389415079.tar.bz2
serd-99cae6357340849c6cd3a48c0d23533389415079.zip
Fix serd_stack_is_empty() const correctness
Diffstat (limited to 'src')
-rw-r--r--src/stack.h2
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;
}