Pavel Sanda wrote:

> Georg Baum wrote:
>> What do you prefer?
> 
> No hard opinion, but if you are going to ditch it please make sure
> that owner_ object is living all the time and does not get invalid for
> a critical moment when reloading buffer or so (this kind of robustness
> against changes in various bufferReload routines elsewhere would justify
> file_ existence). IIRC owner_ is not destroyed at all, but longer time
> I saw that code...

It was easy to verify that owner_ is always set. I also made it more clear 
that it should never change by making it a const member.


Georg

Reply via email to