#include "support/debug.h"
#include "support/lassert.h"
+#include "support/lyxalgo.h"
-#include <algorithm>
#include <ostream>
-#include <boost/next_prior.hpp>
-
using namespace std;
namespace lyx {
end_ = cit->endpos;
dim_.wid = left_margin + cit->dim.wid;
// If there are other elements, they should be removed.
- elements_.erase(boost::next(cit), end);
+ elements_.erase(next(cit, 1), end);
}
}