Re: [Spice-devel] [PATCH v3 13/22] client: rewrite surfaces cache

2011-09-25 Thread Alon Levy
On Sun, Sep 25, 2011 at 03:36:51PM +0300, Yonit Halperin wrote: > use std::map instead of a specific template (CHash). > There is no need for special template. Moreover, using > std::map will allow easy iteration over the surfaces. > This doesn't apply cleanly, in a trivial to fix way. > Signed-

[Spice-devel] [PATCH v3 13/22] client: rewrite surfaces cache

2011-09-25 Thread Yonit Halperin
use std::map instead of a specific template (CHash). There is no need for special template. Moreover, using std::map will allow easy iteration over the surfaces. Signed-off-by: Yonit Halperin --- client/canvas.cpp | 25 +++- client/canvas.h| 152 --