summaryrefslogtreecommitdiffhomepage
path: root/include/stc/carc.h
diff options
context:
space:
mode:
authorTyge Lovset <[email protected]>2022-04-19 21:15:49 +0200
committerTyge Lovset <[email protected]>2022-04-19 21:15:49 +0200
commita9c0f215e3e98c165de07d9661595b0dd64cc4fb (patch)
tree3478ba72d54a13cf777c5cbad1546630cee311bf /include/stc/carc.h
parentba6da4261792bd5da7da952877c299cd5c7a607b (diff)
downloadSTC-modified-a9c0f215e3e98c165de07d9661595b0dd64cc4fb.tar.gz
STC-modified-a9c0f215e3e98c165de07d9661595b0dd64cc4fb.zip
Renamed cbox_new/carc_new to cbox_make/carc_make. Disabled container emplace on arcbox elements.
Diffstat (limited to 'include/stc/carc.h')
-rw-r--r--include/stc/carc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/stc/carc.h b/include/stc/carc.h
index 374044f3..2ed7da4c 100644
--- a/include/stc/carc.h
+++ b/include/stc/carc.h
@@ -145,7 +145,7 @@ _cx_memb(_reset_from)(_cx_self* self, i_val val) {
#if !defined _i_no_clone
STC_INLINE _cx_self
- _cx_memb(_new)(_cx_raw raw) { return _cx_memb(_from)(i_valfrom(raw)); }
+ _cx_memb(_make)(_cx_raw raw) { return _cx_memb(_from)(i_valfrom(raw)); }
#endif
// does not use i_valfrom, so we can bypass c_no_clone