[Libreoffice-commits] core.git: include/tools

Stephan Bergmann sbergman at redhat.com
Tue Oct 11 06:55:27 UTC 2016


 include/tools/ref.hxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 6cded5c853defdda928036d11ae88fa3cf19a79a
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Tue Oct 11 08:52:41 2016 +0200

    Demonstrate that SvRef ==/!= are acceptable as member functions
    
    Change-Id: I30771393bc16f2320cd89f018ff93c756913b70d

diff --git a/include/tools/ref.hxx b/include/tools/ref.hxx
index 30abab3..c8db2bd 100644
--- a/include/tools/ref.hxx
+++ b/include/tools/ref.hxx
@@ -31,7 +31,7 @@
 namespace tools {
 
 /** T must be a class that extends SvRefBase */
-template<typename T> class SAL_DLLPUBLIC_RTTI SvRef {
+template<typename T> class SAL_DLLPUBLIC_RTTI SvRef final {
 public:
     SvRef(): pObj(nullptr) {}
 


More information about the Libreoffice-commits mailing list