Open P-McG opened 2 years ago
Changes to the ID is reflected by changing the IDRefs.
Linux build throws multiple
/media/sf_BT-MatML-Editor/src/BT_MatML_GatherIDRefs.cpp:223:46: error: taking address of rvalue [-fpermissive]
with respect to the stongtypes
Linux build had a bug regarding the memory address of tmp. Change the code to be more explicit. Gave the ability of the compiler to work it out, but the code still takes an address of a temp. This may work because the original data is still within the MatML Data tree and the compiler optimize the additional step out. More work needs to be done on why this is now acceptable to the compiler while before it was not. The Bug is to remain a bug.
Modifing uuid->id should swap throughout the MatML_Doc.