We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0f02ff3 commit f375b4dCopy full SHA for f375b4d
extras/test/include/util/String.h
@@ -36,9 +36,8 @@ namespace arduino {
36
// -felide-constructors
37
// -std=c++0x
38
39
-#define PSTR(str) (str)
40
-typedef void __FlashStringHelper;
41
-#define F(string_literal) (reinterpret_cast<const void *>(PSTR(string_literal)))
+class __FlashStringHelper;
+#define F(string_literal) (reinterpret_cast<const __FlashStringHelper *>(PSTR(string_literal)))
42
43
// An inherited class for holding the result of a concatenation. These
44
// result objects are assumed to be writable by subsequent concatenations.
0 commit comments