Closed
Description
It looks like #517 const
-qualified all of the methods on the ResourceRetriever
and Resource
classes. I intentionally left these non-const
when I added these classes in #464 so the user can implement a cache in his or her custom implementations. This is important when retrieving resources over the network or when resolving the URI is computationally expensive.
I just ran into this situation myself and had to make a bunch of my member variables mutable
as a workaround. I don't see any advantage to making these methods const
, so I would prefer to remove the const
-qualifiers added in #517.
Metadata
Metadata
Assignees
Labels
No labels