| 61 | } |
| 62 | |
| 63 | VariantData* getOrCreateData() const { |
| 64 | auto data = VariantAttorney::getOrCreateData(upstream_); |
| 65 | if (!data) |
| 66 | return nullptr; |
| 67 | return data->getOrAddElement( |
| 68 | index_, VariantAttorney::getResourceManager(upstream_)); |
| 69 | } |
| 70 | |
| 71 | TUpstream upstream_; |
| 72 | size_t index_; |
nothing calls this directly
no test coverage detected