Date: prev next · Thread: first prev next last
2017 Archives by date, by thread · List index


Hi,

On Tue, Mar 07, 2017 at 02:58:31PM +0200, Noel Grandin wrote:
I can't see how that would flush out any bugs.

E.g. In a local debug build I added metadata on where a VclPtr was created (via
__FILE__, __LINE__) so that I could learn where they were leaked from without
hunting them down individually in the debugger.

What is more likely to flush out bugs (and what would make sberg very
happy), would be to remove the current auto-conversion-to-T* operator, since
that would make explicit the places where we are passing around raw pointers
instead of VclPtr<T>

Yeah. :/

But in the end dont we want to have it locked down both ways: no VclPtr to raw*
conversion, nor the opposite? Likely were one happens, the other will happen too.

Anyway, not something I have too strong emotions about, just wanted to know, if
anyone cares before I throw away the branch.

Best,

Bjoern

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.