| 161 | // Adopt an existing refcount from the impl handle without inc/dec |
| 162 | template <typename HandleT, typename ImplHandleT> |
| 163 | HandleT toGenericHandle(RAMCacheComponent& cache, ImplHandleT implHandle) { |
| 164 | return adoptHandle<HandleT>(cache, getRAMCacheItem(implHandle.release())); |
| 165 | } |
| 166 | |
| 167 | } // namespace |
| 168 |