| 145 | } |
| 146 | |
| 147 | std::shared_ptr<Object> ObjectChildrenHolder::getSharedPtr() const |
| 148 | { |
| 149 | if ( !parent_ ) |
| 150 | return {}; |
| 151 | for ( const auto& child : parent_->children_ ) |
| 152 | if ( child.get() == this ) |
| 153 | return child; |
| 154 | return {}; |
| 155 | } |
| 156 | |
| 157 | size_t ObjectChildrenHolder::heapBytes() const |
| 158 | { |
no test coverage detected