Skip to content

Commit c966cf5

Browse files
committed
Fix more compiler warnings on MacOS
1 parent c657c75 commit c966cf5

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

Plugins/SpikeDetector/PopupConfigurationWindow.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -852,6 +852,7 @@ void SpikeDetectorTableModel::paintCell (Graphics& g, int rowNumber, int columnI
852852
g.setColour (Colours::white);
853853
g.drawText ("TT", 4, 4, width - 8, height - 8, Justification::centred);
854854
break;
855+
case SpikeChannel::Type::TEMPLATE:
855856
case SpikeChannel::Type::INVALID:
856857
break;
857858
}

Plugins/SpikeDetector/SpikeDetector.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -453,6 +453,7 @@ SpikeChannel* SpikeDetector::addSpikeChannel (SpikeChannel::Type type,
453453
name += String (++tetrodeCount);
454454
}
455455
break;
456+
case SpikeChannel::TEMPLATE:
456457
case SpikeChannel::INVALID:
457458
break;
458459
}
@@ -483,6 +484,7 @@ SpikeChannel* SpikeDetector::addSpikeChannel (SpikeChannel::Type type,
483484
tetrodeCount++;
484485
}
485486
break;
487+
case SpikeChannel::TEMPLATE:
486488
case SpikeChannel::INVALID:
487489
break;
488490
}

Source/Processors/Editors/SyncLineSelector.h

+4-4
Original file line numberDiff line numberDiff line change
@@ -99,12 +99,12 @@ class PLUGIN_API SyncLineSelector : public PopupComponent,
9999
int getSelectedChannel() { return selectedLine; }
100100

101101
/** Mouse listener methods*/
102-
void mouseDown (const MouseEvent& event);
103-
void mouseMove (const MouseEvent& event);
104-
void mouseUp (const MouseEvent& event);
102+
void mouseDown (const MouseEvent& event) override;
103+
void mouseMove (const MouseEvent& event) override;
104+
void mouseUp (const MouseEvent& event) override;
105105

106106
/** Responds to button clicks*/
107-
void buttonClicked (Button*);
107+
void buttonClicked (Button*) override;
108108

109109
/** Popup update triggered by PopupComponent when undoing/redoing */
110110
void updatePopup() override;

0 commit comments

Comments
 (0)