rtl::Reference Add move construction/assignment

Desktop / LibreOffice - Daniel Robertson [gmail.com] - 6 November 2015 09:19 UTC

Add move constructor and appropriately overloaded assignment operator to rtl::Reference, and add basic unit tests for the reference counting of rtl::Reference.

Change-Id: Ia7ff5d786bdf3b17709cec06608c91e22379746c Reviewed-on: https://gerrit.libreoffice.org/19762

f15d11a rtl::Reference Add move construction/assignment
include/rtl/ref.hxx | 27 ++++++++++
sal/CppunitTest_sal_rtl_ref.mk | 22 ++++++++
sal/Module_sal.mk | 1 +
sal/qa/rtl/ref/rtl_ref.cxx | 112 ++++++++++++++++++++++++++++++++++++++++
4 files changed, 162 insertions(+)

Upstream: cgit.freedesktop.org


  • Share