Replace #include <stdio.h> with #include <cstdio> to solve gcc4mbed compiler problem
Fork of MbedJSONValue by
Revision 3:f2ffae08b963, committed 2011-09-22
- Comitter:
- samux
- Date:
- Thu Sep 22 10:55:41 2011 +0000
- Parent:
- 2:e39bfa3e917d
- Child:
- 4:10a99cdf7846
- Commit message:
Changed in this revision
| MbedJSONValue.cpp | Show annotated file Show diff for this revision Revisions of this file |
| MbedJSONValue.h | Show annotated file Show diff for this revision Revisions of this file |
--- a/MbedJSONValue.cpp Thu Sep 22 10:54:29 2011 +0000
+++ b/MbedJSONValue.cpp Thu Sep 22 10:55:41 2011 +0000
@@ -80,7 +80,6 @@
case TypeNull:
return "null";
case TypeBoolean:
- printf("boolean\r\n");
return _value.asBool ? "true" : "false";
case TypeInt: {
char buf[10];
--- a/MbedJSONValue.h Thu Sep 22 10:54:29 2011 +0000
+++ b/MbedJSONValue.h Thu Sep 22 10:55:41 2011 +0000
@@ -126,7 +126,6 @@
* @param value the object created will be initialized with this boolean
*/
MbedJSONValue(bool value) : _type(TypeBoolean), index_array(0), index_token(0) {
- printf("bool created\r\n");
_value.asBool = value;
}
