summaryrefslogtreecommitdiffhomepage
path: root/include/stc/carc.h
diff options
context:
space:
mode:
authorTyge Løvset <[email protected]>2022-04-20 11:24:11 +0200
committerTyge Løvset <[email protected]>2022-04-20 11:24:11 +0200
commit7c88fc11ef62d5be83fe34fe72da6eadfd64ba6b (patch)
tree6651f32a31940a3ab1cbd1dc5d939af7564d08b2 /include/stc/carc.h
parent9e530276c0bbe84ddc69142053012bcbb6e9d2f0 (diff)
downloadSTC-modified-7c88fc11ef62d5be83fe34fe72da6eadfd64ba6b.tar.gz
STC-modified-7c88fc11ef62d5be83fe34fe72da6eadfd64ba6b.zip
Some cleanup after carc / cbox updates.
Diffstat (limited to 'include/stc/carc.h')
-rw-r--r--include/stc/carc.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/include/stc/carc.h b/include/stc/carc.h
index 2ed7da4c..a061a606 100644
--- a/include/stc/carc.h
+++ b/include/stc/carc.h
@@ -143,10 +143,8 @@ _cx_memb(_reset_from)(_cx_self* self, i_val val) {
*self = _cx_memb(_from)(val);
}
-#if !defined _i_no_clone
- STC_INLINE _cx_self
- _cx_memb(_make)(_cx_raw raw) { return _cx_memb(_from)(i_valfrom(raw)); }
-#endif
+STC_INLINE _cx_self
+_cx_memb(_make)(_cx_raw raw) { return _cx_memb(_from)(i_valfrom(raw)); }
// does not use i_valfrom, so we can bypass c_no_clone
STC_INLINE _cx_self