Skip to content

Commit

Permalink
Fix Clang compile error
Browse files Browse the repository at this point in the history
According to C standard, objects need to have a
user-defined constructor if instances are delcared const.
  • Loading branch information
flanggut committed May 23, 2016
1 parent 7327d5a commit a065fac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/umve/viewinspect/imageoperations.cc
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ ImageOperationsWidget::ImageOperationsWidget (void)
this->selected_view = new SelectedView();

/* MVS layout. */
mvs::Settings const default_settings;
mvs::Settings default_settings;
this->mvs_color_scale.setText("Enable Color Scale");
this->mvs_color_scale.setChecked(default_settings.useColorScale);
this->mvs_write_ply.setText("Write PLY after recon");
Expand Down

0 comments on commit a065fac

Please sign in to comment.