| 113 | using Value = std::shared_ptr<std::vector<char>>; |
| 114 | |
| 115 | bool load(size_t bytes, SizedCachePayload &payload, size_t &size) { |
| 116 | payload.data = std::make_shared<std::vector<char>>(bytes); |
| 117 | size = bytes; |
| 118 | return true; |
| 119 | } |
| 120 | |
| 121 | Value value(const SizedCachePayload &payload) const { |
| 122 | return payload.data; |
nothing calls this directly
no outgoing calls
no test coverage detected