From eade52ff5c3a8ee8c6bb9e21d89c6bfa05525042 Mon Sep 17 00:00:00 2001 From: Ariel Elkin Date: Sat, 5 Apr 2014 21:39:57 +0100 Subject: [PATCH] remove register keyword --- include/BeeThree.h | 2 +- include/FMVoices.h | 2 +- include/HevyMetl.h | 2 +- include/PercFlut.h | 2 +- src/Delay.cpp | 8 ++++---- src/Stk.cpp | 6 +++--- 6 files changed, 11 insertions(+), 11 deletions(-) diff --git a/include/BeeThree.h b/include/BeeThree.h index 4c11cdb..203855a 100644 --- a/include/BeeThree.h +++ b/include/BeeThree.h @@ -73,7 +73,7 @@ class BeeThree : public FM inline StkFloat BeeThree :: tick( unsigned int ) { - register StkFloat temp; + StkFloat temp; if ( modDepth_ > 0.0 ) { temp = 1.0 + ( modDepth_ * vibrato_.tick() * 0.1 ); diff --git a/include/FMVoices.h b/include/FMVoices.h index 5c49b74..0567668 100644 --- a/include/FMVoices.h +++ b/include/FMVoices.h @@ -80,7 +80,7 @@ class FMVoices : public FM inline StkFloat FMVoices :: tick( unsigned int ) { - register StkFloat temp, temp2; + StkFloat temp, temp2; temp = gains_[3] * adsr_[3]->tick() * waves_[3]->tick(); temp2 = vibrato_.tick() * modDepth_ * 0.1; diff --git a/include/HevyMetl.h b/include/HevyMetl.h index 681e257..6827bb6 100644 --- a/include/HevyMetl.h +++ b/include/HevyMetl.h @@ -69,7 +69,7 @@ class HevyMetl : public FM inline StkFloat HevyMetl :: tick( unsigned int ) { - register StkFloat temp; + StkFloat temp; temp = vibrato_.tick() * modDepth_ * 0.2; waves_[0]->setFrequency(baseFrequency_ * (1.0 + temp) * ratios_[0]); diff --git a/include/PercFlut.h b/include/PercFlut.h index b0f9435..ccdd8a1 100644 --- a/include/PercFlut.h +++ b/include/PercFlut.h @@ -70,7 +70,7 @@ class PercFlut : public FM inline StkFloat PercFlut :: tick( unsigned int ) { - register StkFloat temp; + StkFloat temp; temp = vibrato_.tick() * modDepth_ * 0.2; waves_[0]->setFrequency(baseFrequency_ * (1.0 + temp) * ratios_[0]); diff --git a/src/Delay.cpp b/src/Delay.cpp index b48a152..aec1683 100644 --- a/src/Delay.cpp +++ b/src/Delay.cpp @@ -61,19 +61,19 @@ void Delay :: setDelay( unsigned long delay ) StkFloat Delay :: energy( void ) const { unsigned long i; - register StkFloat e = 0; + StkFloat e = 0; if ( inPoint_ >= outPoint_ ) { for ( i=outPoint_; i