Browse Source

Add return value to eachNearestGridPos() so compilers don't complain.

tags/v2.0.0
Andrew Belt 3 years ago
parent
commit
967d99db97
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      src/app/RackWidget.cpp

+ 1
- 0
src/app/RackWidget.cpp View File

@@ -673,6 +673,7 @@ static math::Vec eachNearestGridPos(math::Vec pos, std::function<bool(math::Vec

// We failed to find a box. This shouldn't happen on an infinite rack.
assert(false);
return math::Vec();
}

void RackWidget::setModulePosNearest(ModuleWidget* mw, math::Vec pos) {


Loading…
Cancel
Save