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

Stephan Bergmann sbergman at redhat.com
Wed Nov 9 08:50:40 UTC 2016


 include/vcl/scheduler.hxx |    3 +++
 1 file changed, 3 insertions(+)

New commits:
commit 81e3f5f2fdc9c573c83a37009080e4bb974c7955
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Wed Nov 9 09:50:12 2016 +0100

    Mark Scheduler as non-copyable
    
    Change-Id: Iaabc92061a1a49720f473d35251d892dd4b4f756

diff --git a/include/vcl/scheduler.hxx b/include/vcl/scheduler.hxx
index ef6949d..74fdb3a 100644
--- a/include/vcl/scheduler.hxx
+++ b/include/vcl/scheduler.hxx
@@ -63,6 +63,9 @@ protected:
      */
     virtual sal_uInt64 UpdateMinPeriod( sal_uInt64 nMinPeriod, sal_uInt64 nTimeNow ) const = 0;
 
+    Scheduler(Scheduler &) = delete;
+    void operator =(Scheduler &) = delete;
+
 public:
     Scheduler( const sal_Char *pDebugName );
     Scheduler( const Scheduler& rScheduler );


More information about the Libreoffice-commits mailing list