SolarMutexTryAndBuyGuard (was: Re: [Libreoffice-commits] core.git: 2 commits - include/vcl) sc/source svx/source
Miklos Vajna
vmiklos at collabora.co.uk
Sat Sep 27 06:10:56 PDT 2014
Hi Michael,
On Fri, Sep 26, 2014 at 02:33:38PM -0700, Michael Stahl <mstahl at redhat.com> wrote:
> +class SolarMutexTryAndBuyGuard
> + : private boost::noncopyable
> +{
> + private:
> + bool m_isAcquired;
> +#if OSL_DEBUG_LEVEL > 0
> + bool m_isChecked;
> +#endif
Isn't this exactly the situation when we should use DBG_UTIL and not
OSL_DEBUG_LEVEL -- i.e. when the conditional part results in a different
class layout?
Regards,
Miklos
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20140927/c6a503e7/attachment.sig>
More information about the LibreOffice
mailing list