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

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Sat Sep 26 14:18:36 PDT 2015


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

--- Comment #8 from Daniel L Robertson <danlrobertson89 at gmail.com> ---
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.

struct IBluetoothSocket
{
protected: // I personally would use protected but someone else may disagree
    IBluetoothSocket() = default;
public:
    // everything else
};

No worries, but typically if you have questions regarding errors it is a good
idea to post them  :-)

-- 
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/20150926/7acbfa49/attachment.html>


More information about the LibreOffice mailing list