| 220 | } |
| 221 | |
| 222 | CesiumAsync::Future<ReadJsonResult<Subtree>> SubtreeFileReader::loadJson( |
| 223 | const CesiumAsync::AsyncSystem& asyncSystem, |
| 224 | const std::shared_ptr<IAssetAccessor>& pAssetAccessor, |
| 225 | const std::string& url, |
| 226 | const std::vector<CesiumAsync::IAssetAccessor::THeader>& requestHeaders, |
| 227 | const std::span<const std::byte>& data) const noexcept { |
| 228 | ReadJsonResult<Subtree> result = this->_reader.readFromJson(data); |
| 229 | return postprocess( |
| 230 | asyncSystem, |
| 231 | pAssetAccessor, |
| 232 | url, |
| 233 | requestHeaders, |
| 234 | std::move(result)); |
| 235 | } |
| 236 | |
| 237 | namespace { |
| 238 |
no test coverage detected