[PPL-devel] [GIT] ppl/ppl(master): Removed a redundant explicit cast.
Enea Zaffanella
zaffanella at cs.unipr.it
Fri Sep 30 16:07:35 CEST 2011
Module: ppl/ppl
Branch: master
Commit: a87bb62c2afee1571db0d44ac02b756c9e30cb3c
URL: http://www.cs.unipr.it/git/gitweb.cgi?p=ppl/ppl.git;a=commit;h=a87bb62c2afee1571db0d44ac02b756c9e30cb3c
Author: Enea Zaffanella <zaffanella at cs.unipr.it>
Date: Thu Sep 29 18:13:01 2011 +0200
Removed a redundant explicit cast.
Detected by ECLAIR service castexpr.
---
src/Congruence_System.inlines.hh | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/Congruence_System.inlines.hh b/src/Congruence_System.inlines.hh
index fc20f57..024105b 100644
--- a/src/Congruence_System.inlines.hh
+++ b/src/Congruence_System.inlines.hh
@@ -41,7 +41,7 @@ Congruence_System::operator[](const dimension_type k) const {
inline void
Congruence_System::insert(const Congruence& cg) {
insert_verbatim(cg);
- static_cast<Congruence&>(operator[](rows.size()-1)).strong_normalize();
+ (*this)[rows.size()-1].strong_normalize();
PPL_ASSERT(OK());
}
More information about the PPL-devel
mailing list