#1398 Fix a test that didn't compile but wasn't visible in macOS (this test is...

#1398 Fix a test that didn't compile but wasn't visible in macOS (this test is neutralized as it requires std::variant not yet available there).
12 jobs for 1398_boost_test in 16 minutes and 42 seconds
Name Stage Failure
failed
build-Ubuntu-gcc-release-static-one_lib Build And Test
Sources/libMoReFEM.a(DofSource.cpp.o): In function `MoReFEM::VariationalFormulationNS::DofSourcePolicyNS::DofSource::AddToRhs(MoReFEM::GlobalVector&)':
DofSource.cpp:(.text+0x10): multiple definition of `MoReFEM::VariationalFormulationNS::DofSourcePolicyNS::DofSource::AddToRhs(MoReFEM::GlobalVector&)'
Sources/libMoReFEM.a(DofSource.cpp.o):DofSource.cpp:(.text+0x10): first defined here
Sources/libMoReFEM.a(None.cpp.o): In function `MoReFEM::VariationalFormulationNS::DofSourcePolicyNS::None::AddToRhs(MoReFEM::GlobalVector&)':
None.cpp:(.text+0x0): multiple definition of `MoReFEM::VariationalFormulationNS::DofSourcePolicyNS::None::AddToRhs(MoReFEM::GlobalVector&)'
Sources/libMoReFEM.a(None.cpp.o):None.cpp:(.text+0x0): first defined here
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.
ERROR: Job failed: exit code 1
failed
build-Fedora-clang-debug-static-one_lib Build And Test
/builds/sgilles/MoReFEM/build/../Sources/FormulationSolver/DofSourcePolicy/None.cpp:31: multiple definition of `MoReFEM::VariationalFormulationNS::DofSourcePolicyNS::None::AddToRhs(MoReFEM::GlobalVector&)'; Sources/libMoReFEM.a(None.cpp.o):/builds/sgilles/MoReFEM/build/../Sources/FormulationSolver/DofSourcePolicy/None.cpp:31: first defined here
clang-7: error: linker command failed with exit code 1 (use -v to see invocation)
[529/579] Linking CXX executable Sources/MoReFEMTestOperatorTestFunctions
[530/579] Linking CXX executable Sources/MoReFEM4LaplacianCheckResults
[531/579] Linking CXX executable Sources/MoReFEM4RivlinCubeCheckResults
[532/579] Linking CXX executable Sources/MoReFEMTestFromVertexMatching
[533/579] Linking CXX executable Sources/MoReFEMTestHyperelasticOperator
ninja: build stopped: subcommand failed.
ERROR: Job failed: exit code 1
failed
build-Fedora-gcc-debug-static-one_lib Build And Test
/builds/sgilles/MoReFEM/build/../Sources/FormulationSolver/DofSourcePolicy/None.cpp:31: multiple definition of `MoReFEM::VariationalFormulationNS::DofSourcePolicyNS::None::AddToRhs(MoReFEM::GlobalVector&)'; Sources/libMoReFEM.a(None.cpp.o):/builds/sgilles/MoReFEM/build/../Sources/FormulationSolver/DofSourcePolicy/None.cpp:31: first defined here
collect2: error: ld returned 1 exit status
[533/579] Linking CXX executable Sources/MoReFEMTestHyperelasticOperator
[534/579] Linking CXX executable Sources/MoReFEMTestOperatorTestFunctions
[535/579] Linking CXX executable Sources/MoReFEMConvertMatrixToFreefem
[536/579] Linking CXX executable Sources/MoReFEM4RivlinCube
[537/579] Linking CXX executable Sources/MoReFEMTestNonLinearMembrane
ninja: build stopped: subcommand failed.
ERROR: Job failed: exit code 1