[yoda-svn] r554 - trunk/include/YODA

blackhole at projects.hepforge.org blackhole at projects.hepforge.org
Fri Jan 25 14:45:52 GMT 2013


Author: fsiegert
Date: Fri Jan 25 14:45:51 2013
New Revision: 554

Log:
fix warning: type qualifiers ignored on function return type [-Wignored-qualifiers]

Modified:
   trunk/include/YODA/Axis2D.h

Modified: trunk/include/YODA/Axis2D.h
==============================================================================
--- trunk/include/YODA/Axis2D.h	Sun Dec 30 18:06:01 2012	(r553)
+++ trunk/include/YODA/Axis2D.h	Fri Jan 25 14:45:51 2013	(r554)
@@ -282,42 +282,42 @@
     }
 
     /// Return the lowest-valued bin edge along the x-axis
-    const double lowEdgeX() const {
+    double lowEdgeX() const {
       return _xRange.first;
     }
 
     /// Alias for lowEdgeX()
-    const double xMin() const {
+    double xMin() const {
       return lowEdgeX();
     }
 
     /// Return the highest-valued bin edge along the x-axis
-    const double highEdgeX() const {
+    double highEdgeX() const {
       return _xRange.second;
     }
 
     /// Alias for highEdgeX()
-    const double xMax() const {
+    double xMax() const {
       return highEdgeX();
     }
 
     /// Return the lowest-valued bin edge along the y-axis
-    const double lowEdgeY() const {
+    double lowEdgeY() const {
       return _yRange.first;
     }
 
     /// Alias for lowEdgeY()
-    const double yMin() const {
+    double yMin() const {
       return lowEdgeY();
     }
 
     /// Return the highest-valued bin edge along the y-axis
-    const double highEdgeY() const {
+    double highEdgeY() const {
       return _yRange.second;
     }
 
     /// Alias for highEdgeY()
-    const double yMax() const {
+    double yMax() const {
       return highEdgeY();
     }
 


More information about the yoda-svn mailing list