Fixed JsonVariant::isNull() not returning true after set((char*)0)

This commit is contained in:
Benoit Blanchon
2019-02-18 16:04:51 +01:00
parent e9b4c6289b
commit 56bf24e1ec
13 changed files with 127 additions and 47 deletions

View File

@@ -30,7 +30,7 @@ class SizedRamStringAdapter {
}
size_t size() const {
return strlen(reinterpret_cast<const char*>(_str));
return _size;
}
bool isStatic() const {