CSimpleDoubleCache fix.
Merge pull request #3171 from stupid-boy/CSimpleDoubleCache

[FIX] CSimpleDoubleCache: do not change type of underlying cache