diff --git a/aJSON.cpp b/aJSON.cpp index 1bb9320..ef86f37 100644 --- a/aJSON.cpp +++ b/aJSON.cpp @@ -511,7 +511,7 @@ aJsonStream::skip() // since the parser will return the buffer untouched if it // cannot understand it. int -aJsonStream::flush() +aJsonStream::do_flush() { int in = this->getch(); while(in != EOF) diff --git a/aJSON.h b/aJSON.h index a409a92..30db3ed 100644 --- a/aJSON.h +++ b/aJSON.h @@ -89,7 +89,7 @@ class aJsonStream : public Print { int printString(aJsonObject *item); int skip(); - int flush(); + int do_flush(); int parseValue(aJsonObject *item, char** filter); int printValue(aJsonObject *item);