TypeDef cache resulting FieldDesc

Ensure the repeated create() yields compatible Values
This commit is contained in:
Michael Davidsaver
2019-12-23 19:41:46 -08:00
parent 8eae991006
commit 4db60a0fe5
3 changed files with 104 additions and 85 deletions
+1 -1
View File
@@ -436,7 +436,7 @@ void testAssign()
val["timeStamp"].mark();
val["alarm.severity"] = 3u;
auto val2 = val.cloneEmpty();
auto val2 = def.create();
val2.assign(val);