Skip to content

Commit d557969

Browse files
committed
Add override keyword
1 parent b791a1d commit d557969

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/xycloid.cpp

+2-1
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,8 @@ struct XycloidWidget : public ModuleWidget {
283283
install_switch<XycloidSwitch2>(Xycloid::Y_RANGE_SWITCH, {right_center_x, top_row_y + row*row_spacing}, 1, 0);
284284
install_output<XycloidPort>(Xycloid::Y_OUT, {right_x, top_row_y + row*row_spacing});
285285
}
286-
void appendContextMenu(rack::Menu *menu) {
286+
287+
void appendContextMenu(rack::Menu *menu) override {
287288
Xycloid *xycloid = dynamic_cast<Xycloid*>(module);
288289
menu->addChild(rack::construct<rack::MenuLabel>());
289290
menu->addChild(rack::construct<rack::MenuLabel>(&rack::MenuLabel::text, "Options"));

0 commit comments

Comments
 (0)