LGTM: [skip ci] fix: Large object passed by value

This commit is contained in:
wmayer
2020-07-24 18:32:31 +02:00
parent 75ba0b8a77
commit d5d7d65bfc
20 changed files with 48 additions and 48 deletions

View File

@@ -230,7 +230,7 @@ void orthoview::smooth(bool state)
this_view->ShowSmoothLines.setValue(state);
}
void orthoview::set_projection(gp_Ax2 cs)
void orthoview::set_projection(const gp_Ax2& cs)
{
gp_Ax2 actual_cs;
gp_Dir actual_X;

View File

@@ -47,7 +47,7 @@ public:
~orthoview();
void set_data(int r_x, int r_y);
void set_projection(gp_Ax2 cs);
void set_projection(const gp_Ax2& cs);
void setPos(float = 0, float = 0);
void setScale(float newscale);
float getScale();