| 259 | |
| 260 | template <class TData, class TMapType> |
| 261 | inline TMaybeData<TData> GetDataFromMap(const TMapType& map, const typename TMapType::key_type& key) { |
| 262 | const auto dataPtr = MapFindPtr(map, key); |
| 263 | if (dataPtr) { |
| 264 | return **dataPtr; |
| 265 | } |
| 266 | return Nothing(); |
| 267 | } |
| 268 | |
| 269 | |
| 270 | class TTargetDataProvider : public TThrRefBase { |
nothing calls this directly
no test coverage detected