ResourceManager fixes

7 jobs for v3 in 9 minutes and 10 seconds (queued for 9 seconds)
Status Name Job ID Coverage
  Test
passed clang-c++17 #138214
Linux

00:07:38

passed cppcheck #138216
Linux

00:01:03

passed doc #138219
Linux

00:00:08

passed gcc-c++17 #138213
Linux

00:04:56

failed macos-c++17 #138215
Apple

00:00:10

failed VS2019-32-bit #138217
VS2019

00:00:52

failed VS2019-64-bit #138218
VS2019

00:00:52

 
Name Stage Failure
failed
VS2019-32-bit Test
8>LINK : fatal error LNK1181: cannot open input file '..\..\Build\lib\Release\OpenVolumeMesh.lib'
8>Done building project "unittests.vcxproj" -- FAILED.
9>------ Build started: Project: ALL_BUILD, Configuration: Release Win32 ------
9>Building Custom Rule E:/gitlab/builds/mJQzyNSJ/0/OpenVolumeMesh/OpenVolumeMesh/CMakeLists.txt
========== Build: 6 succeeded, 3 failed, 0 up-to-date, 0 skipped ==========

E:\gitlab\builds\mJQzyNSJ\0\OpenVolumeMesh\OpenVolumeMesh\build-release>IF 1 NEQ 0 exit /b 1
Cleaning up file based variables
ERROR: Job failed: exit status 1
failed
VS2019-64-bit Test
8>LINK : fatal error LNK1181: cannot open input file '..\..\Build\lib\Release\OpenVolumeMesh.lib'
8>Done building project "unittests.vcxproj" -- FAILED.
9>------ Build started: Project: ALL_BUILD, Configuration: Release x64 ------
9>Building Custom Rule E:/gitlab/builds/cu6mRa6g/0/OpenVolumeMesh/OpenVolumeMesh/CMakeLists.txt
========== Build: 6 succeeded, 3 failed, 0 up-to-date, 0 skipped ==========

E:\gitlab\builds\cu6mRa6g\0\OpenVolumeMesh\OpenVolumeMesh\build-release>IF 1 NEQ 0 exit /b 1
Cleaning up file based variables
ERROR: Job failed: exit status 1
failed
macos-c++17 Test
In file included from /Users/jenkins/builds/b72f60fc/0/OpenVolumeMesh/OpenVolumeMesh/src/OpenVolumeMesh/Core/TopologyKernel.hh:45:
/Users/jenkins/builds/b72f60fc/0/OpenVolumeMesh/OpenVolumeMesh/src/OpenVolumeMesh/Core/ResourceManager.hh:45:10: fatal error: 'optional' file not found
#include <optional>
^~~~~~~~~~
1 error 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