refactor: void return type for Collector.forward_children()

This commit is contained in:
Roland Conybeare 2026-04-04 16:54:46 -04:00
commit 1bad724e48
10 changed files with 15 additions and 15 deletions

View file

@ -57,7 +57,7 @@ namespace xo {
/** move instance using allocator **/
static Opaque shallow_move(DPrimitive_gco_0 & self, obj<ACollector> gc) noexcept;
/** during GC: forward immdiate children **/
static size_type forward_children(DPrimitive_gco_0 & self, obj<ACollector> gc) noexcept;
static void forward_children(DPrimitive_gco_0 & self, obj<ACollector> gc) noexcept;
///@}
};

View file

@ -57,7 +57,7 @@ namespace xo {
/** move instance using allocator **/
static Opaque shallow_move(DPrimitive_gco_1_gco & self, obj<ACollector> gc) noexcept;
/** during GC: forward immdiate children **/
static size_type forward_children(DPrimitive_gco_1_gco & self, obj<ACollector> gc) noexcept;
static void forward_children(DPrimitive_gco_1_gco & self, obj<ACollector> gc) noexcept;
///@}
};

View file

@ -57,7 +57,7 @@ namespace xo {
/** move instance using allocator **/
static Opaque shallow_move(DPrimitive_gco_2_dict_string & self, obj<ACollector> gc) noexcept;
/** during GC: forward immdiate children **/
static size_type forward_children(DPrimitive_gco_2_dict_string & self, obj<ACollector> gc) noexcept;
static void forward_children(DPrimitive_gco_2_dict_string & self, obj<ACollector> gc) noexcept;
///@}
};

View file

@ -57,7 +57,7 @@ namespace xo {
/** move instance using allocator **/
static Opaque shallow_move(DPrimitive_gco_2_gco_gco & self, obj<ACollector> gc) noexcept;
/** during GC: forward immdiate children **/
static size_type forward_children(DPrimitive_gco_2_gco_gco & self, obj<ACollector> gc) noexcept;
static void forward_children(DPrimitive_gco_2_gco_gco & self, obj<ACollector> gc) noexcept;
///@}
};

View file

@ -57,7 +57,7 @@ namespace xo {
/** move instance using allocator **/
static Opaque shallow_move(DPrimitive_gco_3_dict_string_gco & self, obj<ACollector> gc) noexcept;
/** during GC: forward immdiate children **/
static size_type forward_children(DPrimitive_gco_3_dict_string_gco & self, obj<ACollector> gc) noexcept;
static void forward_children(DPrimitive_gco_3_dict_string_gco & self, obj<ACollector> gc) noexcept;
///@}
};

View file

@ -27,9 +27,9 @@ namespace xo {
return self.shallow_move(gc);
}
auto
IGCObject_DPrimitive_gco_0::forward_children(DPrimitive_gco_0 & self, obj<ACollector> gc) noexcept -> size_type
IGCObject_DPrimitive_gco_0::forward_children(DPrimitive_gco_0 & self, obj<ACollector> gc) noexcept -> void
{
return self.forward_children(gc);
self.forward_children(gc);
}
} /*namespace scm*/

View file

@ -27,9 +27,9 @@ namespace xo {
return self.shallow_move(gc);
}
auto
IGCObject_DPrimitive_gco_1_gco::forward_children(DPrimitive_gco_1_gco & self, obj<ACollector> gc) noexcept -> size_type
IGCObject_DPrimitive_gco_1_gco::forward_children(DPrimitive_gco_1_gco & self, obj<ACollector> gc) noexcept -> void
{
return self.forward_children(gc);
self.forward_children(gc);
}
} /*namespace scm*/

View file

@ -27,9 +27,9 @@ namespace xo {
return self.shallow_move(gc);
}
auto
IGCObject_DPrimitive_gco_2_dict_string::forward_children(DPrimitive_gco_2_dict_string & self, obj<ACollector> gc) noexcept -> size_type
IGCObject_DPrimitive_gco_2_dict_string::forward_children(DPrimitive_gco_2_dict_string & self, obj<ACollector> gc) noexcept -> void
{
return self.forward_children(gc);
self.forward_children(gc);
}
} /*namespace scm*/

View file

@ -27,9 +27,9 @@ namespace xo {
return self.shallow_move(gc);
}
auto
IGCObject_DPrimitive_gco_2_gco_gco::forward_children(DPrimitive_gco_2_gco_gco & self, obj<ACollector> gc) noexcept -> size_type
IGCObject_DPrimitive_gco_2_gco_gco::forward_children(DPrimitive_gco_2_gco_gco & self, obj<ACollector> gc) noexcept -> void
{
return self.forward_children(gc);
self.forward_children(gc);
}
} /*namespace scm*/

View file

@ -27,9 +27,9 @@ namespace xo {
return self.shallow_move(gc);
}
auto
IGCObject_DPrimitive_gco_3_dict_string_gco::forward_children(DPrimitive_gco_3_dict_string_gco & self, obj<ACollector> gc) noexcept -> size_type
IGCObject_DPrimitive_gco_3_dict_string_gco::forward_children(DPrimitive_gco_3_dict_string_gco & self, obj<ACollector> gc) noexcept -> void
{
return self.forward_children(gc);
self.forward_children(gc);
}
} /*namespace scm*/