Merge pull request #3575 from bska/fix-narrowing

Don't Narrow String Literal to Bool
This commit is contained in:
Bård Skaflestad
2023-06-16 17:09:04 +02:00
committed by GitHub

View File

@@ -70,7 +70,7 @@ std::vector< PpcwmaxRecord >::const_iterator Ppcwmax::end() const {
}
Ppcwmax Ppcwmax::serializationTestObject() {
return Ppcwmax({{45.0, "YES"}});
return Ppcwmax({{45.0, true}});
}