Skip to content

Commit a5a9021

Browse files
PoroCYonyupferris
authored andcommitted
fix -fpermissive error/warning on gcc/clang
1 parent 65ff231 commit a5a9021

File tree

12 files changed

+12
-12
lines changed

12 files changed

+12
-12
lines changed

WaveSabreCore/include/WaveSabreCore/Adultery.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ namespace WaveSabreCore
6565
{
6666
public:
6767
AdulteryVoice(Adultery *adultery);
68-
virtual WaveSabreCore::SynthDevice *SynthDevice() const;
68+
virtual WaveSabreCore::SynthDevice *GetSynthDevice() const;
6969

7070
virtual void Run(double songPosition, float **outputs, int numSamples);
7171

WaveSabreCore/include/WaveSabreCore/Falcon.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ namespace WaveSabreCore
6666
{
6767
public:
6868
FalconVoice(Falcon *falcon);
69-
virtual WaveSabreCore::SynthDevice *SynthDevice() const;
69+
virtual WaveSabreCore::SynthDevice *GetSynthDevice() const;
7070

7171
virtual void Run(double songPosition, float **outputs, int numSamples);
7272

WaveSabreCore/include/WaveSabreCore/Slaughter.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ namespace WaveSabreCore
8080
{
8181
public:
8282
SlaughterVoice(Slaughter *slaughter);
83-
virtual WaveSabreCore::SynthDevice *SynthDevice() const;
83+
virtual WaveSabreCore::SynthDevice *GetSynthDevice() const;
8484

8585
virtual void Run(double songPosition, float **outputs, int numSamples);
8686

WaveSabreCore/include/WaveSabreCore/Specimen.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ namespace WaveSabreCore
7777
{
7878
public:
7979
SpecimenVoice(Specimen *thunder);
80-
virtual WaveSabreCore::SynthDevice *SynthDevice() const;
80+
virtual WaveSabreCore::SynthDevice *GetSynthDevice() const;
8181

8282
virtual void Run(double songPosition, float **outputs, int numSamples);
8383

WaveSabreCore/include/WaveSabreCore/SynthDevice.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ namespace WaveSabreCore
4848
Voice();
4949
virtual ~Voice();
5050

51-
virtual SynthDevice *SynthDevice() const = 0;
51+
virtual SynthDevice *GetSynthDevice() const = 0;
5252

5353
virtual void Run(double songPosition, float **outputs, int numSamples) = 0;
5454

WaveSabreCore/include/WaveSabreCore/Thunder.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ namespace WaveSabreCore
3131
{
3232
public:
3333
ThunderVoice(Thunder *thunder);
34-
virtual WaveSabreCore::SynthDevice *SynthDevice() const;
34+
virtual WaveSabreCore::SynthDevice *GetSynthDevice() const;
3535

3636
virtual void Run(double songPosition, float **outputs, int numSamples);
3737

WaveSabreCore/src/Adultery.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ namespace WaveSabreCore
253253
this->adultery = adultery;
254254
}
255255

256-
SynthDevice *Adultery::AdulteryVoice::SynthDevice() const
256+
SynthDevice *Adultery::AdulteryVoice::GetSynthDevice() const
257257
{
258258
return adultery;
259259
}

WaveSabreCore/src/Falcon.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ namespace WaveSabreCore
145145
this->falcon = falcon;
146146
}
147147

148-
SynthDevice *Falcon::FalconVoice::SynthDevice() const
148+
SynthDevice *Falcon::FalconVoice::GetSynthDevice() const
149149
{
150150
return falcon;
151151
}

WaveSabreCore/src/Slaughter.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ namespace WaveSabreCore
176176
osc1.Integral = osc2.Integral = osc3.Integral = 0.0;
177177
}
178178

179-
SynthDevice *Slaughter::SlaughterVoice::SynthDevice() const
179+
SynthDevice *Slaughter::SlaughterVoice::GetSynthDevice() const
180180
{
181181
return slaughter;
182182
}

WaveSabreCore/src/Specimen.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ namespace WaveSabreCore
289289
this->specimen = specimen;
290290
}
291291

292-
SynthDevice *Specimen::SpecimenVoice::SynthDevice() const
292+
SynthDevice *Specimen::SpecimenVoice::GetSynthDevice() const
293293
{
294294
return specimen;
295295
}

0 commit comments

Comments
 (0)