refactor: void return type for Collector.forward_children()
This commit is contained in:
parent
73bfe2ed26
commit
d8585a7005
4 changed files with 6 additions and 6 deletions
|
|
@ -57,7 +57,7 @@ namespace xo {
|
|||
/** move instance using allocator **/
|
||||
static Opaque shallow_move(DString & self, obj<ACollector> gc) noexcept;
|
||||
/** during GC: forward immdiate children **/
|
||||
static size_type forward_children(DString & self, obj<ACollector> gc) noexcept;
|
||||
static void forward_children(DString & self, obj<ACollector> gc) noexcept;
|
||||
///@}
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -57,7 +57,7 @@ namespace xo {
|
|||
/** move instance using allocator **/
|
||||
static Opaque shallow_move(DUniqueString & self, obj<ACollector> gc) noexcept;
|
||||
/** during GC: forward immdiate children **/
|
||||
static size_type forward_children(DUniqueString & self, obj<ACollector> gc) noexcept;
|
||||
static void forward_children(DUniqueString & self, obj<ACollector> gc) noexcept;
|
||||
///@}
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -27,9 +27,9 @@ namespace xo {
|
|||
return self.shallow_move(gc);
|
||||
}
|
||||
auto
|
||||
IGCObject_DString::forward_children(DString & self, obj<ACollector> gc) noexcept -> size_type
|
||||
IGCObject_DString::forward_children(DString & self, obj<ACollector> gc) noexcept -> void
|
||||
{
|
||||
return self.forward_children(gc);
|
||||
self.forward_children(gc);
|
||||
}
|
||||
|
||||
} /*namespace scm*/
|
||||
|
|
|
|||
|
|
@ -27,9 +27,9 @@ namespace xo {
|
|||
return self.shallow_move(gc);
|
||||
}
|
||||
auto
|
||||
IGCObject_DUniqueString::forward_children(DUniqueString & self, obj<ACollector> gc) noexcept -> size_type
|
||||
IGCObject_DUniqueString::forward_children(DUniqueString & self, obj<ACollector> gc) noexcept -> void
|
||||
{
|
||||
return self.forward_children(gc);
|
||||
self.forward_children(gc);
|
||||
}
|
||||
|
||||
} /*namespace scm*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue