[PPL-devel] [GIT] ppl/ppl(floating_point): Use is_empty instead of marked_empty for

Fabio Bossi bossi at cs.unipr.it
Thu Sep 23 15:46:31 CEST 2010


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

Author: Fabio Bossi <bossi at cs.unipr.it>
Date:   Thu Sep 23 15:46:00 2010 +0200

Use is_empty instead of marked_empty for
maximum safety.

---

 src/Octagonal_Shape.templates.hh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/Octagonal_Shape.templates.hh b/src/Octagonal_Shape.templates.hh
index 44c04e2..54de5ce 100644
--- a/src/Octagonal_Shape.templates.hh
+++ b/src/Octagonal_Shape.templates.hh
@@ -7665,7 +7665,7 @@ Octagonal_Shape<T>
 
   strong_closure_assign();
 
-  if (marked_empty()) {
+  if (is_empty()) {
     dest.set_empty();
     return;
   }




More information about the PPL-devel mailing list