Skip to content

Commit 247e3ee

Browse files
committed
Revert removal of class __FlashStringHelper forward for continued compatibility with external libs
1 parent eca04ba commit 247e3ee

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Diff for: cores/esp32/WString.h

+4
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,10 @@
3131
#include <ctype.h>
3232

3333

34+
// A pure abstract class forward used as a means to proide a unique pointer type
35+
// but really is never defined.
36+
[[deprecated("not required on ESP32, only for ESP8266 compatibility")]]
37+
class __FlashStringHelper;
3438
#define FPSTR(pstr_pointer) (pstr_pointer)
3539
#define F(string_literal) (string_literal)
3640

0 commit comments

Comments
 (0)