Angus Leeming <[EMAIL PROTECTED]> writes:

| On Friday 06 September 2002 1:03 pm, Lars Gullik Bjønnes wrote:
| 
| > Ok, the following update seems to fix that problem.
| > If you have time, please look at it again.
| 
| @@ -191,6 +197,9 @@ private:
| 
|       ///
|       FloatList floatlist_;
| +
| +     ///
| +     boost::shared_ptr<Counters> ctrs_;
| 
| A minor point. Shouldn't this be 
| +     boost::shared_ptr<Counters> const ctrs_;
| 
| showing future maintainers that you're using the shared_ptr only to avoid 
| including counter.h in lyxtextclass.h.

Perhaps... but how does adding const show that? (really)

I also had trouble getting it to work... scoped_ptr was just out of
the question, it would have needed a lot of additional code to make it
work.

-- 
        Lgb

Reply via email to