[yoda-svn] r599 - in trunk: . include/YODA

blackhole at projects.hepforge.org blackhole at projects.hepforge.org
Fri May 17 00:57:05 BST 2013


Author: buckley
Date: Fri May 17 00:57:05 2013
New Revision: 599

Log:
Adding a non-const points() accessor to Scatter2D

Modified:
   trunk/ChangeLog
   trunk/include/YODA/Scatter2D.h

Modified: trunk/ChangeLog
==============================================================================
--- trunk/ChangeLog	Mon May 13 20:21:43 2013	(r598)
+++ trunk/ChangeLog	Fri May 17 00:57:05 2013	(r599)
@@ -1,3 +1,7 @@
+2013-05-17  Andy Buckley  <andy.buckley at cern.ch>
+
+	* Adding a non-const points() accessor to Scatter2D.
+
 2013-05-13  Andy Buckley  <andy.buckley at cern.ch>
 
 	* Adding combined value+error setX/Y functions on Point2D.

Modified: trunk/include/YODA/Scatter2D.h
==============================================================================
--- trunk/include/YODA/Scatter2D.h	Mon May 13 20:21:43 2013	(r598)
+++ trunk/include/YODA/Scatter2D.h	Fri May 17 00:57:05 2013	(r599)
@@ -178,7 +178,13 @@
     }
 
 
-    /// Get the collection of points
+    /// Get the collection of points (non-const)
+    Points& points() {
+      return _points;
+    }
+
+
+    /// Get the collection of points (const)
     const Points& points() const {
       return _points;
     }


More information about the yoda-svn mailing list