HasMember use const char *
Fork of MbedJSONValue by
Diff: MbedJSONValue.cpp
- Revision:
- 5:ce4a55fd9702
- Parent:
- 3:f2ffae08b963
--- a/MbedJSONValue.cpp Thu Sep 22 10:57:37 2011 +0000 +++ b/MbedJSONValue.cpp Fri Aug 07 02:53:04 2015 +0000 @@ -28,7 +28,7 @@ _type = TypeNull; } -bool MbedJSONValue::hasMember(char * name) +bool MbedJSONValue::hasMember(const char * name) { for(int i = 0; i < index_token; i++) if( !strcmp(name, (*(token_name[i])).c_str() ))