* mln/core/dpsites_piter.hh: use std_vector() instead of to_vec().
---
milena/ChangeLog | 6 ++++++
milena/mln/core/dpsites_piter.hh | 10 +++++-----
2 files changed, 11 insertions(+), 5 deletions(-)
diff --git a/milena/ChangeLog b/milena/ChangeLog
index f15caeb..e736568 100644
--- a/milena/ChangeLog
+++ b/milena/ChangeLog
@@ -1,3 +1,9 @@
+2008-11-05 Guillaume Lazzara <z(a)lrde.epita.fr>
+
+ Fix compilation issue.
+
+ * mln/core/dpsites_piter.hh: use std_vector() instead of to_vec().
+
2008-11-05 Nicolas Ballas <ballas(a)lrde.epita.fr>
Use memcpy_ in level::fill_with_image.
diff --git a/milena/mln/core/dpsites_piter.hh b/milena/mln/core/dpsites_piter.hh
index 07a9cc2..99d95f5 100644
--- a/milena/mln/core/dpsites_piter.hh
+++ b/milena/mln/core/dpsites_piter.hh
@@ -155,7 +155,7 @@ namespace mln
bool
dpsites_fwd_piter<V>::is_valid_() const
{
- return i_ != this->s_->to_vec().size();
+ return i_ != this->s_->std_vector().size();
}
template <typename V>
@@ -163,7 +163,7 @@ namespace mln
void
dpsites_fwd_piter<V>::invalidate_()
{
- i_ = this->s_->to_vec().size();
+ i_ = this->s_->std_vector().size();
}
template <typename V>
@@ -187,7 +187,7 @@ namespace mln
mln_psite(V)
dpsites_fwd_piter<V>::compute_p_() const
{
- return *this->c_ + this->s_->to_vec()[i_];
+ return *this->c_ + this->s_->std_vector()[i_];
}
@@ -229,7 +229,7 @@ namespace mln
void
dpsites_bkd_piter<V>::do_start_()
{
- i_ = this->s_->to_vec().size() - 1;
+ i_ = this->s_->std_vector().size() - 1;
}
template <typename V>
@@ -245,7 +245,7 @@ namespace mln
mln_psite(V)
dpsites_bkd_piter<V>::compute_p_() const
{
- return *this->c_ + this->s_->to_vec()[i_];
+ return *this->c_ + this->s_->std_vector()[i_];
}
# endif // ! MLN_INCLUDE_ONLY
--
1.5.6.5