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