summaryrefslogtreecommitdiffhomepage
path: root/include/stc/cmap.h
diff options
context:
space:
mode:
authorTyge Løvset <[email protected]>2021-12-22 09:07:40 +0100
committerTyge Løvset <[email protected]>2021-12-22 09:07:40 +0100
commitf69f26927edb7e2850a5a235ed5117f278f437a1 (patch)
tree7ed42e8654c81f3c3a49298b53530c1f9d5400ac /include/stc/cmap.h
parent6e65e30c6e3c2bc271d3885e749ceb0289bbd9cf (diff)
downloadSTC-modified-f69f26927edb7e2850a5a235ed5117f278f437a1.tar.gz
STC-modified-f69f26927edb7e2850a5a235ed5117f278f437a1.zip
Renamed '_rawvalue\b' to '_raw'
Diffstat (limited to 'include/stc/cmap.h')
-rw-r--r--include/stc/cmap.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/stc/cmap.h b/include/stc/cmap.h
index b7529871..87ed7c6c 100644
--- a/include/stc/cmap.h
+++ b/include/stc/cmap.h
@@ -85,7 +85,7 @@ typedef i_valraw _cx_memb(_rawmapped);
typedef _i_SET_ONLY( i_keyraw )
_i_MAP_ONLY( struct { i_keyraw first;
i_valraw second; } )
-_cx_rawvalue;
+_cx_raw;
STC_API _cx_self _cx_memb(_with_capacity)(size_t cap);
#if !c_option(c_no_clone)
@@ -153,10 +153,10 @@ _cx_memb(_emplace)(_cx_self* self, i_keyraw rkey _i_MAP_ONLY(, i_valraw rmapped)
}
#endif // !c_no_clone
-STC_INLINE _cx_rawvalue
+STC_INLINE _cx_raw
_cx_memb(_value_toraw)(_cx_value* val) {
return _i_SET_ONLY( i_keyto(val) )
- _i_MAP_ONLY( c_make(_cx_rawvalue){i_keyto(&val->first), i_valto(&val->second)} );
+ _i_MAP_ONLY( c_make(_cx_raw){i_keyto(&val->first), i_valto(&val->second)} );
}
STC_INLINE void