From e9ca57491150b9e4442e9afa462c8f9f3a84cd3b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bastian=20L=C3=B6her?= Date: Tue, 25 Jul 2023 22:32:30 +0200 Subject: [PATCH] Don't override flush. --- aJSON.cpp | 2 +- aJSON.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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);