[PPL-devel] [GIT] ppl/ppl(ppl-0_11-branch): Cyclic dependency avoided.

Roberto Bagnara bagnara at cs.unipr.it
Fri Jan 7 18:20:54 CET 2011


Module: ppl/ppl
Branch: ppl-0_11-branch
Commit: 210f11e1f0b3f0890ca63f7305ba181105200e18
URL:    http://www.cs.unipr.it/git/gitweb.cgi?p=ppl/ppl.git;a=commit;h=210f11e1f0b3f0890ca63f7305ba181105200e18

Author: Roberto Bagnara <bagnara at cs.unipr.it>
Date:   Fri Jan  7 18:20:30 2011 +0100

Cyclic dependency avoided.

---

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

diff --git a/src/globals.inlines.hh b/src/globals.inlines.hh
index 8fd6be5..f44e435 100644
--- a/src/globals.inlines.hh
+++ b/src/globals.inlines.hh
@@ -67,7 +67,7 @@ maybe_abandon() {
 inline dimension_type
 compute_capacity(const dimension_type requested_size,
 		 const dimension_type maximum_size) {
-  PPL_ASSERT(requested_size <= maximum_size);
+  assert(requested_size <= maximum_size);
   // Speculation factor 2.
   return (requested_size < maximum_size / 2)
     ? 2*(requested_size + 1)




More information about the PPL-devel mailing list