Skip to content

Commit

Permalink
Renamed getter
Browse files Browse the repository at this point in the history
  • Loading branch information
JohanBertrand committed Feb 3, 2024
1 parent d538efa commit 917090c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion STest/STest/Rule/Rule.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ namespace STest {
) = 0;

//! Get rule name
char const * getRuleName() const {
char const * getName() const {
return this->m_name;
}

Expand Down
2 changes: 1 addition & 1 deletion STest/STest/Scenario/RepeatedRuleScenario.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ namespace STest {
RepeatedRuleScenario(
Rule<State>& rule //!< The rule
) :
Scenario<State>(rule.getRuleName()),
Scenario<State>(rule.getName()),
rule(rule)
{

Expand Down
2 changes: 1 addition & 1 deletion STest/STest/Scenario/Scenario.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ namespace STest {
printf(
"[Scenario %s] Applying rule %s\n",
this->name,
rule.getRuleName()
rule.getName()
);
}
rule.apply(state);
Expand Down

0 comments on commit 917090c

Please sign in to comment.