- File:
-
- 1 edited
-
libcfa/src/concurrency/coroutine.cfa (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/concurrency/coroutine.cfa
r5456537 rb583113 61 61 forall(T & | is_coroutine(T)) 62 62 void __cfaehm_cancelled_coroutine( 63 T & cor, $coroutine * desc, EHM_DEFAULT_VTABLE(CoroutineCancelled, (T))) {63 T & cor, $coroutine * desc, _EHM_VTABLE_TYPE(CoroutineCancelled)(T) & const _default_vtable ) { 64 64 verify( desc->cancellation ); 65 65 desc->state = Cancelled; … … 145 145 // Part of the Public API 146 146 // Not inline since only ever called once per coroutine 147 forall(T & | is_coroutine(T) | { EHM_DEFAULT_VTABLE(CoroutineCancelled, (T)); })147 forall(T & | is_coroutine(T) | { _EHM_VTABLE_TYPE(CoroutineCancelled)(T) & const _default_vtable; }) 148 148 void prime(T& cor) { 149 149 $coroutine* this = get_coroutine(cor);
Note:
See TracChangeset
for help on using the changeset viewer.