[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdeedu/marble/src/lib/geodata/data
From:       Bastian Holst <bastianholst () gmx ! de>
Date:       2010-05-21 21:13:12
Message-ID: 20100521211312.BBCA3AC8C1 () svn ! kde ! org
[Download RAW message or body]

SVN commit 1129288 by bholst:

To prevent the usage of operator= it shouldn't be implemented.

 M  +2 -4      GeoDataRegion_p.h  


--- trunk/KDE/kdeedu/marble/src/lib/geodata/data/GeoDataRegion_p.h #1129287:1129288
@@ -78,10 +78,8 @@
     QMutex m_mutex;
 
   private:
-    GeoDataRegionPrivate &operator=( const GeoDataRegionPrivate& )
-    {
-        return *this;
-    }
+    // Preventing usage of operator=
+    GeoDataRegionPrivate &operator=( const GeoDataRegionPrivate& );
 };
 
 } // namespace Marble
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic