summaryrefslogtreecommitdiffhomepage
path: root/include/stc/cpque.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/stc/cpque.h')
-rw-r--r--include/stc/cpque.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/stc/cpque.h b/include/stc/cpque.h
index 79d12b95..bfc09106 100644
--- a/include/stc/cpque.h
+++ b/include/stc/cpque.h
@@ -82,7 +82,7 @@ STC_INLINE bool _cx_memb(_empty)(const _cx_self* q)
STC_INLINE size_t _cx_memb(_capacity)(const _cx_self* q)
{ return q->capacity; }
-STC_INLINE _cx_value* _cx_memb(_top)(const _cx_self* self)
+STC_INLINE const _cx_value* _cx_memb(_top)(const _cx_self* self)
{ return &self->data[0]; }
STC_INLINE void _cx_memb(_pop)(_cx_self* self)