File tree Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -72,7 +72,7 @@ JSONClass::~JSONClass()
72
72
{
73
73
}
74
74
75
- const char * typeof (const JSONVar& value)
75
+ String typeof (const JSONVar& value)
76
76
{
77
77
return JSONVar::typeof (value);
78
78
}
Original file line number Diff line number Diff line change 24
24
25
25
#include " JSONVar.h"
26
26
27
- const char * typeof (const JSONVar& value);
27
+ String typeof (const JSONVar& value);
28
28
29
29
class JSONClass {
30
30
public:
Original file line number Diff line number Diff line change @@ -333,7 +333,7 @@ String JSONVar::stringify(const JSONVar& value)
333
333
return str;
334
334
}
335
335
336
- const char * JSONVar::typeof_ (const JSONVar& value)
336
+ String JSONVar::typeof_ (const JSONVar& value)
337
337
{
338
338
struct cJSON * json = value._json ;
339
339
Original file line number Diff line number Diff line change @@ -74,7 +74,7 @@ class JSONVar : public Printable {
74
74
static JSONVar parse (const char * s);
75
75
static JSONVar parse (const String& s);
76
76
static String stringify (const JSONVar& value);
77
- static const char * typeof_ (const JSONVar& value);
77
+ static String typeof_ (const JSONVar& value);
78
78
79
79
private:
80
80
JSONVar (struct cJSON * json, struct cJSON * parent);
You can’t perform that action at this time.
0 commit comments