diff --git a/qa/utils/kicad2step/pcb/test_base.cpp b/qa/utils/kicad2step/pcb/test_base.cpp index f8e35d20b1..0a853ca5e9 100644 --- a/qa/utils/kicad2step/pcb/test_base.cpp +++ b/qa/utils/kicad2step/pcb/test_base.cpp @@ -189,7 +189,7 @@ BOOST_AUTO_TEST_CASE( TestGetLayerName ) const OPT ret = GetLayerName( *sexpr ); - BOOST_CHECK_EQUAL( ret.has_value(), c.m_valid ); + BOOST_CHECK_EQUAL( !!ret, c.m_valid ); if( ret ) {