Files
rawTherapee/rtengine/cache.h
Flössie ebd9e5e132 Make rtengine::Cache build again with hashable keys
While STL containers are not guaranteed to build with incomplete types,
`rtengine::Cache` used to build with `std::map` as well as
`std::unordered_map` when I first implemented it. With GCC 6.3 I
recently realized, that this was no longer the case for hashable keys
(i.e. `std::unordered_map` as `Store`).

The recommended workaround is to use a `std::unique_ptr`.
2017-03-11 17:14:11 +01:00

5.7 KiB