[Bug 94306] Replace boost::noncopyable with plain C++11 deleted copy ctors

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Mon Sep 28 00:06:53 PDT 2015


https://bugs.documentfoundation.org/show_bug.cgi?id=94306

Stephan Bergmann <sbergman at redhat.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |sbergman at redhat.com

--- Comment #13 from Stephan Bergmann <sbergman at redhat.com> ---
(In reply to Daniel L Robertson from comment #8)
> I just took a look at it, and if I'm correct this is due to the fact that
> there is no default constructor in IBluetoothSocket. boost::noncopyable
> defines a default constructor. As a result, you might try something like the
> following.

It looks somewhat misguided to derive the IBluetoothSocket "interface" from
boost::noncopyable in the first place.  Just drop that, and let any class
deriving from IBluetoothSocket decide for itself whether or not it should be
copyable.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20150928/69750f83/attachment.html>


More information about the LibreOffice mailing list