forked from bblanchon/ArduinoJson
@ -8,6 +8,7 @@
|
|||||||
#include <string.h> // strcmp
|
#include <string.h> // strcmp
|
||||||
|
|
||||||
#include <ArduinoJson/Polyfills/assert.hpp>
|
#include <ArduinoJson/Polyfills/assert.hpp>
|
||||||
|
#include <ArduinoJson/Polyfills/attributes.hpp>
|
||||||
#include <ArduinoJson/Strings/StoragePolicy.hpp>
|
#include <ArduinoJson/Strings/StoragePolicy.hpp>
|
||||||
#include <ArduinoJson/Strings/StringAdapter.hpp>
|
#include <ArduinoJson/Strings/StringAdapter.hpp>
|
||||||
|
|
||||||
@ -27,7 +28,7 @@ class ZeroTerminatedRamString {
|
|||||||
return !str_;
|
return !str_;
|
||||||
}
|
}
|
||||||
|
|
||||||
size_t size() const {
|
FORCE_INLINE size_t size() const {
|
||||||
return str_ ? ::strlen(str_) : 0;
|
return str_ ? ::strlen(str_) : 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user