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

            Bug ID: 94306
           Summary: Replace boost::noncopyable with plain C++11 deleted
                    copy ctors
           Product: LibreOffice
           Version: unspecified
          Hardware: Other
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: LibreOffice
          Assignee: [email protected]
          Reporter: [email protected]

In C++11 you can use:

class NonCopyable {
public:
  NonCopyable(const NonCopyable&) = delete;
  const NonCopyable& operator=(const NonCopyable&) = delete;
};

to make a class non-copyable, thus there is no need for boost templates
anymore.

To find this being used use:

 git grep boost::noncopyable
 git grep boost/noncopyable

and replace uses of boost::noncopyable with plain C++11 deleted copy
constructors.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to