refactor: retire GCObject.shallow_size()

Not needed.  Rely on size stored in gc-owned object header
This commit is contained in:
Roland Conybeare 2026-04-04 17:30:03 -04:00
commit 1f91e2afdc
4 changed files with 0 additions and 16 deletions

View file

@ -50,8 +50,6 @@ namespace xo {
/** @defgroup scm-gcobject-dglobalenv-methods **/
///@{
// const methods
/** memory consumption for this instance **/
static size_type shallow_size(const DGlobalEnv & self) noexcept;
// non-const methods
/** move instance using allocator **/

View file

@ -50,8 +50,6 @@ namespace xo {
/** @defgroup scm-gcobject-dschematikaparser-methods **/
///@{
// const methods
/** memory consumption for this instance **/
static size_type shallow_size(const DSchematikaParser & self) noexcept;
// non-const methods
/** move instance using allocator **/

View file

@ -15,12 +15,6 @@
namespace xo {
namespace scm {
auto
IGCObject_DGlobalEnv::shallow_size(const DGlobalEnv & self) noexcept -> size_type
{
return self.shallow_size();
}
auto
IGCObject_DGlobalEnv::shallow_move(DGlobalEnv & self, obj<ACollector> gc) noexcept -> Opaque
{

View file

@ -15,12 +15,6 @@
namespace xo {
namespace scm {
auto
IGCObject_DSchematikaParser::shallow_size(const DSchematikaParser & self) noexcept -> size_type
{
return self.shallow_size();
}
auto
IGCObject_DSchematikaParser::shallow_move(DSchematikaParser & self, obj<ACollector> gc) noexcept -> Opaque
{