mirror of
https://github.com/eledio-devices/thirdparty-ArduinoJson.git
synced 2025-11-01 00:38:27 +01:00
Fixed error when both ARDUINOJSON_ENABLE_STD_STREAM and ARDUINOJSON_ENABLE_ARDUINO_STREAM are set to 1
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
namespace ArduinoJson {
|
||||
namespace Internals {
|
||||
|
||||
struct CharPtrFuncs {
|
||||
struct CharPointerTraits {
|
||||
class Iterator {
|
||||
const char* _ptr;
|
||||
|
||||
@@ -43,9 +43,9 @@ struct CharPtrFuncs {
|
||||
};
|
||||
|
||||
template <>
|
||||
struct StringFuncs<const char*, void> : CharPtrFuncs {};
|
||||
struct StringTraits<const char*, void> : CharPointerTraits {};
|
||||
|
||||
template <>
|
||||
struct StringFuncs<char*, void> : CharPtrFuncs {};
|
||||
struct StringTraits<char*, void> : CharPointerTraits {};
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user