We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c751918 commit 68cc214Copy full SHA for 68cc214
1 file changed
test/testsarifreport.cpp
@@ -60,7 +60,7 @@ class TestSarifReport : public TestFixture
60
}
61
62
// Helper to create an ErrorMessage
63
- ErrorMessage createErrorMessage(const std::string& id,
+ static ErrorMessage createErrorMessage(const std::string& id,
64
Severity severity,
65
const std::string& msg,
66
const std::string& file = "test.cpp",
@@ -79,7 +79,7 @@ class TestSarifReport : public TestFixture
79
80
81
// Helper to parse JSON and validate structure
82
- bool parseAndValidateJson(const std::string& json, picojson::value& root)
+ static bool parseAndValidateJson(const std::string& json, picojson::value& root)
83
{
84
std::string parseError = picojson::parse(root, json);
85
return parseError.empty() && root.is<picojson::object>();
0 commit comments