forked from bblanchon/ArduinoJson
Add a stub for shallowCopy()
This commit is contained in:
1 parent
2f31c932d7
commit
53d54ba9d7
3 files changed
+21
No files matched your search
@@ -227,6 +227,12 @@ class VariantRefBase : public VariantTag {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// DEPRECATED: performs a deep copy
|
||||
ARDUINOJSON_DEPRECATED("performs a deep copy")
|
||||
void shallowCopy(JsonVariantConst src) const {
|
||||
set(src);
|
||||
}
|
||||
|
||||
private:
|
||||
TDerived& derived() {
|
||||
return static_cast<TDerived&>(*this);
|
||||
|
||||
Reference in new issue
Block a user