Angus Leeming <[EMAIL PROTECTED]> writes:
| ======
| +#include "counters.h"
>
| Buffer::Buffer(string const & file, bool ronly)
| : niceFile(true), lyx_clean(true), bak_clean(true),
| unnamed(false), dep_clean(0), read_only(ronly),
| - filename_(file), users(0)
| + filename_(file), users(0), ctrs(new Counters)
Never allocate memory in initializtors... you are unagle to handle
exceptions properly.
Always allocate in body of constructor.
--
Lgb
