Fix warnings (#3852)
* Remove register keyword Register is meaningless in c++, and removed in c++17 * Fix compiler warningsg Add missing override, remove unused capture, and remove unused local variablees
This commit is contained in:
@@ -183,7 +183,7 @@ private:
|
||||
* iteration. */
|
||||
inline void toBridgeUpdate( delayLine * _dl, sample_t _insamp )
|
||||
{
|
||||
register sample_t * ptr = _dl->pointer;
|
||||
sample_t * ptr = _dl->pointer;
|
||||
*ptr = _insamp * m_stringLoss;
|
||||
++ptr;
|
||||
if( ptr > _dl->end )
|
||||
@@ -202,7 +202,7 @@ private:
|
||||
inline void fromBridgeUpdate( delayLine * _dl,
|
||||
sample_t _insamp )
|
||||
{
|
||||
register sample_t * ptr = _dl->pointer;
|
||||
sample_t * ptr = _dl->pointer;
|
||||
--ptr;
|
||||
if( ptr < _dl->data )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user