| 171 | } |
| 172 | |
| 173 | CachedWorkspace::CachedWorkspace(const Options& options) |
| 174 | : Workspace(options), |
| 175 | cache_((size_t)(1024.0 * 1024.0 * 1024.0 * options.cache_size), |
| 176 | [](const int) { return std::make_shared<CachedImage>(); }) {} |
| 177 | |
| 178 | const Bitmap& CachedWorkspace::GetBitmap(const int image_idx) { |
| 179 | std::shared_ptr<CachedImage> cached_image; |
nothing calls this directly
no outgoing calls
no test coverage detected