Fix and clean up property default serialisation

7 jobs for v3-dev-ovmb1 in 12 minutes and 1 second (queued for 6 seconds)
Status Name Job ID Coverage
  Test
passed clang-c++17 #139953
Linux

00:12:00

passed cppcheck #139955
Linux

00:01:16

passed doc #139958
Linux

00:00:09

passed gcc-c++17 #139952
Linux

00:07:33

failed macos-c++17 #139954
Apple

00:00:05

failed VS2019-32-bit #139956
VS2019

00:01:41

failed VS2019-64-bit #139957
VS2019

00:02:18

 
Name Stage Failure
failed
VS2019-32-bit Test
E:\gitlab\builds\cu6mRa6g\0\OpenVolumeMesh\OpenVolumeMesh\build-debug>cd .. 

E:\gitlab\builds\cu6mRa6g\0\OpenVolumeMesh\OpenVolumeMesh>cd src\Unittests\TestFiles

E:\gitlab\builds\cu6mRa6g\0\OpenVolumeMesh\OpenVolumeMesh\src\Unittests\TestFiles>..\..\..\build-debug\Unittests\Debug\unittests.exe

E:\gitlab\builds\cu6mRa6g\0\OpenVolumeMesh\OpenVolumeMesh\src\Unittests\TestFiles>IF -1073741515 NEQ 0 exit /b -1073741515
Cleaning up file based variables
ERROR: Job failed: exit status 1
failed
VS2019-64-bit Test
E:\gitlab\builds\mJQzyNSJ\0\OpenVolumeMesh\OpenVolumeMesh\build-debug>cd .. 

E:\gitlab\builds\mJQzyNSJ\0\OpenVolumeMesh\OpenVolumeMesh>cd src\Unittests\TestFiles

E:\gitlab\builds\mJQzyNSJ\0\OpenVolumeMesh\OpenVolumeMesh\src\Unittests\TestFiles>..\..\..\build-debug\Unittests\Debug\unittests.exe

E:\gitlab\builds\mJQzyNSJ\0\OpenVolumeMesh\OpenVolumeMesh\src\Unittests\TestFiles>IF -1073741515 NEQ 0 exit /b -1073741515
Cleaning up file based variables
ERROR: Job failed: exit status 1
failed
macos-c++17 Test
In file included from /Users/jenkins/builds/8dfb9a4a/0/OpenVolumeMesh/OpenVolumeMesh/src/OpenVolumeMesh/Core/TopologyKernel.hh:45:
/Users/jenkins/builds/8dfb9a4a/0/OpenVolumeMesh/OpenVolumeMesh/src/OpenVolumeMesh/Core/ResourceManager.hh:45:10: fatal error: 'optional' file not found
#include <optional>
^
4 errors generated.
make[2]: *** [src/CMakeFiles/OpenVolumeMesh.dir/OpenVolumeMesh/Attribs/InterfaceAttrib.cc.o] Error 1
make[1]: *** [src/CMakeFiles/OpenVolumeMesh.dir/all] Error 2
make: *** [all] Error 2
Cleaning up file based variables
ERROR: Job failed: exit status 1