Mir

Code review comment for lp:~andreas-pokorny/mir/split-main-loop-and-fix-races

Revision history for this message
Andreas Pokorny (andreas-pokorny) wrote :

> > assuming that every operator() call of CachedPtr
> > has identical behaviour.
>
> Responding to just this part of the comment (not the MP): it is hard to ensure
> this as users of Mir can override these calls.

Hm I thought I would be safe from that kind of abuse by making the CachedPtr private - but it still felt like a hack so I did not do it.

« Back to merge proposal