| 150 | } |
| 151 | |
| 152 | SoftAssetReferenceBase::~SoftAssetReferenceBase() |
| 153 | { |
| 154 | Asset* asset = _asset; |
| 155 | if (asset) |
| 156 | { |
| 157 | _asset = nullptr; |
| 158 | asset->RemoveReference(this); |
| 159 | } |
| 160 | #if !BUILD_RELEASE |
| 161 | _id = Guid::Empty; |
| 162 | #endif |
| 163 | } |
| 164 | |
| 165 | String SoftAssetReferenceBase::ToString() const |
| 166 | { |
nothing calls this directly
no test coverage detected