Skip to content

Commit 781127e

Browse files
committed
[CI] make compiler happy
1 parent db48532 commit 781127e

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

extras/test/include/util/String.h

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

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

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

0 commit comments

Comments
 (0)