get_neighbor_offset() can take only two parameters now.

This commit is contained in:
Aymeric PELLE 2015-05-28 19:02:48 +02:00 committed by Aymeric PELLÉ
parent 774134835f
commit 93eebb6691
1 changed files with 7 additions and 0 deletions

View File

@ -1411,7 +1411,14 @@ protected:
Cell_handle c, bool& found) const;
Offset get_neighbor_offset(Cell_handle ch, int i, Cell_handle nb) const;
public:
Offset get_neighbor_offset(Cell_handle ch, int i) const
{
return get_neighbor_offset(ch, i, ch->neighbor(i));
}
protected:
/** @name Friends */ //@{
friend class Perturbation_order<typename GT::Compare_xyz_3>;
friend std::istream& operator>> <>