summaryrefslogtreecommitdiffhomepage
path: root/include/stc/cmap.h
diff options
context:
space:
mode:
authorTyge Løvset <[email protected]>2022-08-08 13:11:52 +0200
committerTyge Løvset <[email protected]>2022-08-08 13:11:52 +0200
commit1954c6aa34aae6301f90e81e546db6fb666c517a (patch)
treeda9aac62bee16ddfaab86bc11df06bb82acd9f59 /include/stc/cmap.h
parent5f12ddba7bff04d4f1f5543ec908b9dd196e4f89 (diff)
downloadSTC-modified-1954c6aa34aae6301f90e81e546db6fb666c517a.tar.gz
STC-modified-1954c6aa34aae6301f90e81e546db6fb666c517a.zip
Fixed const mistake.
Diffstat (limited to 'include/stc/cmap.h')
-rw-r--r--include/stc/cmap.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/stc/cmap.h b/include/stc/cmap.h
index 1cb8bb3f..84957e69 100644
--- a/include/stc/cmap.h
+++ b/include/stc/cmap.h
@@ -205,7 +205,7 @@ _cx_memb(_get)(const _cx_self* self, _cx_rawkey rkey) {
}
STC_INLINE _cx_value*
-_cx_memb(_get_mut)(const _cx_self* self, _cx_rawkey rkey)
+_cx_memb(_get_mut)(_cx_self* self, _cx_rawkey rkey)
{ return (_cx_value*)_cx_memb(_get)(self, rkey); }
STC_INLINE _cx_iter