Commit 9dd818cd authored by Roland Levillain's avatar Roland Levillain
Browse files

Fix the instruction flow in multiple_qiter<W,F>::change_target.

	* mln/win/multiple.hh (mln::win::multiple_qiter<W,F>::change_target):
	Set the size before delegating the call to the base class, so that
	postconditions can be honored.

git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@4610 4aad255d-cdde-0310-9447-f3009e2ae8c0
parent 7650fdd3
2009-10-06 Roland Levillain <roland@lrde.epita.fr>
Fix the instruction flow in multiple_qiter<W,F>::change_target.
* mln/win/multiple.hh (mln::win::multiple_qiter<W,F>::change_target):
Set the size before delegating the call to the base class, so that
postconditions can be honored.
2009-10-06 Roland Levillain <roland@lrde.epita.fr>
 
Honor strict-aliasing rules in memset_.
......@@ -340,8 +340,8 @@ namespace mln
void
multiple_qiter<W,F>::change_target(const multiple<W,F>& w)
{
this->super_::change_target(w);
size_ = w.size();
this->super_::change_target(w);
}
template <typename W, typename F>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment