Fix compilation error

libraries/Bounce2/src/Bounce2.h:209:10: error: extra qualification 'Bounce::' on member 'changed' [-fpermissive]
  209 |     bool Bounce::changed( ) { return getStateFlag(CHANGED_STATE); }
      |          ^~~~~~

Regression introduced in 01e6fc9398

Signed-off-by: Damian Wrobel <dwrobel@ertelnet.rybnik.pl>
This commit is contained in:
Damian Wrobel
2019-11-25 14:42:05 +01:00
parent 6228e09451
commit 26e216c98d
+1 -1
View File
@@ -206,7 +206,7 @@ class Bounce
inline bool getStateFlag(const uint8_t flag) {return((state & flag) != 0);}
public:
bool Bounce::changed( ) { return getStateFlag(CHANGED_STATE); }
bool changed( ) { return getStateFlag(CHANGED_STATE); }
};