[Libreoffice-commits] core.git: sc/source

Stephan Bergmann sbergman at redhat.com
Wed Jun 29 19:49:56 UTC 2016


 sc/source/core/inc/adiasync.hxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit bd9988ee969a73690a254fc7e6ada110b8681dc1
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Wed Jun 29 21:49:25 2016 +0200

    No need for a derived class
    
    Change-Id: I42e96a0c7818abdaff15f5cd2b1111839aa771e6

diff --git a/sc/source/core/inc/adiasync.hxx b/sc/source/core/inc/adiasync.hxx
index c8e5b71..b34bcec 100644
--- a/sc/source/core/inc/adiasync.hxx
+++ b/sc/source/core/inc/adiasync.hxx
@@ -70,7 +70,7 @@ struct CompareScAddInAsync
 {
   bool operator()( ScAddInAsync* const& lhs, ScAddInAsync* const& rhs ) const { return (*lhs)<(*rhs); }
 };
-class ScAddInAsyncs : public std::set<ScAddInAsync*, CompareScAddInAsync> {};
+using ScAddInAsyncs = std::set<ScAddInAsync*, CompareScAddInAsync>;
 
 extern ScAddInAsyncs theAddInAsyncTbl;  // in adiasync.cxx
 


More information about the Libreoffice-commits mailing list