---
milena/ChangeLog | 4 ++++
milena/mln/win/multiple.hh | 13 +++++++++++++
2 files changed, 17 insertions(+), 0 deletions(-)
diff --git a/milena/ChangeLog b/milena/ChangeLog
index f40e949..60f3ad7 100644
--- a/milena/ChangeLog
+++ b/milena/ChangeLog
@@ -1,3 +1,7 @@
+2009-08-24 Guillaume Lazzara <lazzara(a)lrde.epita.fr>
+
+ * mln/win/multiple.hh: Add a missing init_ member.
+
2009-08-28 Guillaume Lazzara <lazzara(a)lrde.epita.fr>
Small fixes.
diff --git a/milena/mln/win/multiple.hh b/milena/mln/win/multiple.hh
index f39a55e..a3632f5 100644
--- a/milena/mln/win/multiple.hh
+++ b/milena/mln/win/multiple.hh
@@ -145,6 +145,10 @@ namespace mln
void change_target(const multiple<W,F>& w); // Overridden to initialize
size_.
+ /// Delegated initialization.
+ template <typename P>
+ void init_(const multiple<W,F>& w, const P& c);
+
/// Test the iterator validity.
bool is_valid_() const;
@@ -316,6 +320,15 @@ namespace mln
inline
multiple_qiter<W,F>::multiple_qiter(const multiple<W,F>& w, const
P& c)
{
+ this->init_(w, c);
+ }
+
+ template <typename W, typename F>
+ template <typename P>
+ inline
+ void
+ multiple_qiter<W,F>::init_(const multiple<W,F>& w, const P& c)
+ {
this->center_at(c);
// We have to first change the center so that 'invalidate' can
// work when changing the target.
--
1.5.6.5