Update HomeSpan.h

eliminates -Wpmf-conversion warnings generated by our checks for override of update(), loop(), and button() methods
This commit is contained in:
Gregg 2021-09-22 05:31:46 -05:00
parent 5496503afd
commit 0dd341faa9
1 changed files with 2 additions and 0 deletions

View File

@ -31,6 +31,8 @@
#error ERROR: HOMESPAN IS ONLY AVAILABLE FOR ESP32 MICROCONTROLLERS! #error ERROR: HOMESPAN IS ONLY AVAILABLE FOR ESP32 MICROCONTROLLERS!
#endif #endif
#pragma GCC diagnostic ignored "-Wpmf-conversions" // eliminates warning messages from use of pointers to member functions to detect whether update() and loop() are overridden by user
#include <Arduino.h> #include <Arduino.h>
#include <unordered_map> #include <unordered_map>
#include <vector> #include <vector>