refactor: retire GCObject.shallow_size()
Not needed. Rely on size stored in gc-owned object header
This commit is contained in:
parent
6251b2bde7
commit
1f91e2afdc
4 changed files with 0 additions and 16 deletions
|
|
@ -50,8 +50,6 @@ namespace xo {
|
||||||
/** @defgroup scm-gcobject-dglobalenv-methods **/
|
/** @defgroup scm-gcobject-dglobalenv-methods **/
|
||||||
///@{
|
///@{
|
||||||
// const methods
|
// const methods
|
||||||
/** memory consumption for this instance **/
|
|
||||||
static size_type shallow_size(const DGlobalEnv & self) noexcept;
|
|
||||||
|
|
||||||
// non-const methods
|
// non-const methods
|
||||||
/** move instance using allocator **/
|
/** move instance using allocator **/
|
||||||
|
|
|
||||||
|
|
@ -50,8 +50,6 @@ namespace xo {
|
||||||
/** @defgroup scm-gcobject-dschematikaparser-methods **/
|
/** @defgroup scm-gcobject-dschematikaparser-methods **/
|
||||||
///@{
|
///@{
|
||||||
// const methods
|
// const methods
|
||||||
/** memory consumption for this instance **/
|
|
||||||
static size_type shallow_size(const DSchematikaParser & self) noexcept;
|
|
||||||
|
|
||||||
// non-const methods
|
// non-const methods
|
||||||
/** move instance using allocator **/
|
/** move instance using allocator **/
|
||||||
|
|
|
||||||
|
|
@ -15,12 +15,6 @@
|
||||||
|
|
||||||
namespace xo {
|
namespace xo {
|
||||||
namespace scm {
|
namespace scm {
|
||||||
auto
|
|
||||||
IGCObject_DGlobalEnv::shallow_size(const DGlobalEnv & self) noexcept -> size_type
|
|
||||||
{
|
|
||||||
return self.shallow_size();
|
|
||||||
}
|
|
||||||
|
|
||||||
auto
|
auto
|
||||||
IGCObject_DGlobalEnv::shallow_move(DGlobalEnv & self, obj<ACollector> gc) noexcept -> Opaque
|
IGCObject_DGlobalEnv::shallow_move(DGlobalEnv & self, obj<ACollector> gc) noexcept -> Opaque
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -15,12 +15,6 @@
|
||||||
|
|
||||||
namespace xo {
|
namespace xo {
|
||||||
namespace scm {
|
namespace scm {
|
||||||
auto
|
|
||||||
IGCObject_DSchematikaParser::shallow_size(const DSchematikaParser & self) noexcept -> size_type
|
|
||||||
{
|
|
||||||
return self.shallow_size();
|
|
||||||
}
|
|
||||||
|
|
||||||
auto
|
auto
|
||||||
IGCObject_DSchematikaParser::shallow_move(DSchematikaParser & self, obj<ACollector> gc) noexcept -> Opaque
|
IGCObject_DSchematikaParser::shallow_move(DSchematikaParser & self, obj<ACollector> gc) noexcept -> Opaque
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue