[PPL-devel] [GIT] ppl/ppl(floating_point): Do not const-qualify by-copy parameters in declarations.

Fabio Bossi bossi at cs.unipr.it
Wed Jul 21 13:37:00 CEST 2010


Module: ppl/ppl
Branch: floating_point
Commit: 152569b0c53bb429e915bfa37b6bf1c7a0ea2fdb
URL:    http://www.cs.unipr.it/git/gitweb.cgi?p=ppl/ppl.git;a=commit;h=152569b0c53bb429e915bfa37b6bf1c7a0ea2fdb

Author: Fabio Bossi <bossi at cs.unipr.it>
Date:   Wed Jul 21 12:36:33 2010 +0200

Do not const-qualify by-copy parameters in declarations.

---

 src/Float.defs.hh |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/src/Float.defs.hh b/src/Float.defs.hh
index d2f2678..21270da 100644
--- a/src/Float.defs.hh
+++ b/src/Float.defs.hh
@@ -361,8 +361,7 @@ public:
 #endif
 
 template <typename FP_Interval_Type>
-FP_Interval_Type compute_absolute_error(const Floating_Point_Format
-                                        analyzed_format);
+FP_Interval_Type compute_absolute_error(Floating_Point_Format analyzed_format);
 
 template <typename FP_Interval_Type, Floating_Point_Format>
 class absolute_error;




More information about the PPL-devel mailing list