Skip to content

Commit

Permalink
fixup! Evaluate argument of (DYNAMIC_)SECTION in static-analysis mode
Browse files Browse the repository at this point in the history
  • Loading branch information
mjerabek committed Feb 21, 2024
1 parent 49d212a commit e63e8de
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/catch2/internal/catch_section.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,9 @@ namespace Catch {
namespace Detail {
// Intentionally without linkage, as it should only be used as a dummy
// symbol for static analysis.
// The argument is used as a dummy for checking warnings in the passed
// expression.
int GetNewSectionHint(StringRef);
// The arguments are used as a dummy for checking warnings in the passed
// expressions.
int GetNewSectionHint(StringRef, const char* const = nullptr);
} // namespace Detail
} // namespace Catch

Expand Down

0 comments on commit e63e8de

Please sign in to comment.