Skip to content

Commit 68cc214

Browse files
committed
clang tidy
1 parent c751918 commit 68cc214

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

test/testsarifreport.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ class TestSarifReport : public TestFixture
6060
}
6161

6262
// Helper to create an ErrorMessage
63-
ErrorMessage createErrorMessage(const std::string& id,
63+
static ErrorMessage createErrorMessage(const std::string& id,
6464
Severity severity,
6565
const std::string& msg,
6666
const std::string& file = "test.cpp",
@@ -79,7 +79,7 @@ class TestSarifReport : public TestFixture
7979
}
8080

8181
// Helper to parse JSON and validate structure
82-
bool parseAndValidateJson(const std::string& json, picojson::value& root)
82+
static bool parseAndValidateJson(const std::string& json, picojson::value& root)
8383
{
8484
std::string parseError = picojson::parse(root, json);
8585
return parseError.empty() && root.is<picojson::object>();

0 commit comments

Comments
 (0)