Re: More on select all - paste bug.


Subject: Re: More on select all - paste bug.
From: Vlad Harchev (hvv@hippo.ru)
Date: Mon Nov 20 2000 - 05:09:00 CST


On Mon, 20 Nov 2000, Martin Sevior wrote:

 Hi Martin!

[...]
> I tried putting locks on the PieceTable operations but the const
> definition of some of the methods defeated me.
>
> Somone with a clue:
>
> If a function is defined:
> PD_Document::getAppProps(*) const
> {
> .
> .
> .
> .
> }
>
> How can I call a function that changes a member variable within
> getAppProps?

 It seems you've solved the problem, but:
 The hackish way is

        PD_Document* that = (PD_Document*)this;
        that->some_nonconst_function();
  
>
> Thanks!
>
> Martin
>

 Best regards,
  -Vlad



This archive was generated by hypermail 2b25 : Mon Nov 20 2000 - 05:35:45 CST