Skip to content

Commit f375b4d

Browse files
committed
Revert "[CI] make compiler happy"
This reverts commit 781127e.
1 parent 0f02ff3 commit f375b4d

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

extras/test/include/util/String.h

+2-3
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,8 @@ namespace arduino {
3636
// -felide-constructors
3737
// -std=c++0x
3838

39-
#define PSTR(str) (str)
40-
typedef void __FlashStringHelper;
41-
#define F(string_literal) (reinterpret_cast<const void *>(PSTR(string_literal)))
39+
class __FlashStringHelper;
40+
#define F(string_literal) (reinterpret_cast<const __FlashStringHelper *>(PSTR(string_literal)))
4241

4342
// An inherited class for holding the result of a concatenation. These
4443
// result objects are assumed to be writable by subsequent concatenations.

0 commit comments

Comments
 (0)