Mentions légales du service

Skip to content
Snippets Groups Projects

Fix Sonarcube bug : use of const ref

Merged ORDRONNEAU Camille requested to merge cordronn/vite:fix/sonarcube into master
9 files
+ 9
9
Compare changes
  • Side-by-side
  • Inline
Files
9
@@ -715,7 +715,7 @@ void Render_opengl::draw_text_value(long int id, double text, double y) {
}
}
void Render_opengl::draw_text(const Element_pos x, const Element_pos y, const Element_pos size, const std::string s) {
void Render_opengl::draw_text(const Element_pos x, const Element_pos y, const Element_pos size, const std::string &s) {
if (_draw_ruler)
return; /* do not draw text for ruler */
if (_draw_state)
Loading