Browse Source

Removed default arguments from function definitions that were already in prototypes - fixes build on gcc-3.2

master
waxfrenzy 22 years ago
parent
commit
73936ce302
3 changed files with 3 additions and 3 deletions
  1. +1
    -1
      SpiralSound/Plugins/MixSwitchPlugin/MixSwitchPlugin.C
  2. +1
    -1
      SpiralSound/Plugins/SequencerPlugin/SequencerPlugin.C
  3. +1
    -1
      SpiralSound/Plugins/Widgets/Fl_VU_Meter.cxx

+ 1
- 1
SpiralSound/Plugins/MixSwitchPlugin/MixSwitchPlugin.C View File

@@ -73,7 +73,7 @@ void MixSwitchPlugin::ExecuteCommands () {
}
}

void MixSwitchPlugin::CreatePorts (int n = 2, bool AddPorts = false) {
void MixSwitchPlugin::CreatePorts (int n, bool AddPorts) {
int c;
m_PluginInfo.NumInputs = 2 + n;
m_PluginInfo.PortTips.push_back ("CV");


+ 1
- 1
SpiralSound/Plugins/SequencerPlugin/SequencerPlugin.C View File

@@ -150,7 +150,7 @@ ostream &operator<<(ostream &s, Pattern &o)

//////////////////////////////////////////////////////////////////////////

Sequence::Sequence(float st=0, int pat=0)
Sequence::Sequence(float st, int pat)
{
m_StartTime=st;
m_Pattern=pat;


+ 1
- 1
SpiralSound/Plugins/Widgets/Fl_VU_Meter.cxx View File

@@ -2,7 +2,7 @@
#include "Fl_VU_Meter.h"
#include <FL/fl_draw.H>

Fl_VU_Meter::Fl_VU_Meter (int x, int y, int w, int h, const char *l = 0) :
Fl_VU_Meter::Fl_VU_Meter (int x, int y, int w, int h, const char *l) :
Fl_Progress (x, y, w, h, l) {
}



Loading…
Cancel
Save