mirror of https://github.com/CGAL/cgal
added 'const' access modifier in 'set_translation()'
This commit is contained in:
parent
f33164a67f
commit
4e9039c34c
|
|
@ -66,7 +66,7 @@ public:
|
|||
Base(), _stored_translation(false)
|
||||
{}
|
||||
|
||||
void set_translation(Hyperbolic_translation tr) {
|
||||
void set_translation(const Hyperbolic_translation& tr) {
|
||||
if (!_stored_translation) {
|
||||
_tr = tr;
|
||||
_stored_translation = true;
|
||||
|
|
|
|||
Loading…
Reference in New Issue