[PPL-devel] [GIT] ppl/ppl(master): Fixed a few misuses of assignment ( instead of comparison) in assertions.
Enea Zaffanella
zaffanella at cs.unipr.it
Sat Feb 25 11:11:50 CET 2012
Module: ppl/ppl
Branch: master
Commit: 5e705a68649d84a32490ae8692158d19706cad2c
URL: http://www.cs.unipr.it/git/gitweb.cgi?p=ppl/ppl.git;a=commit;h=5e705a68649d84a32490ae8692158d19706cad2c
Author: Enea Zaffanella <zaffanella at cs.unipr.it>
Date: Sat Feb 25 11:10:45 2012 +0100
Fixed a few misuses of assignment (instead of comparison) in assertions.
Detected by ECLAIR service utypflag.
---
src/Dense_Row.inlines.hh | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/Dense_Row.inlines.hh b/src/Dense_Row.inlines.hh
index 00d78d2..17b808f 100644
--- a/src/Dense_Row.inlines.hh
+++ b/src/Dense_Row.inlines.hh
@@ -100,7 +100,7 @@ Dense_Row::Dense_Row(const dimension_type sz,
resize(sz, capacity);
PPL_ASSERT(size() == sz);
- PPL_ASSERT(impl.capacity = capacity);
+ PPL_ASSERT(impl.capacity == capacity);
PPL_ASSERT(OK());
}
@@ -155,7 +155,7 @@ Dense_Row::Dense_Row(const Dense_Row& y,
}
PPL_ASSERT(size() == y.size());
- PPL_ASSERT(impl.capacity = capacity);
+ PPL_ASSERT(impl.capacity == capacity);
PPL_ASSERT(OK());
}
@@ -185,7 +185,7 @@ Dense_Row::Dense_Row(const Dense_Row& y,
}
PPL_ASSERT(size() == sz);
- PPL_ASSERT(impl.capacity = capacity);
+ PPL_ASSERT(impl.capacity == capacity);
PPL_ASSERT(OK());
}
More information about the PPL-devel
mailing list