Skip to content

Commit 3b966e1

Browse files
committed
Make function argument to const too
1 parent 6af3163 commit 3b966e1

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/variables/rule.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ class Rule_DictElement : public VariableDictElement { \
3838
: VariableDictElement(m_rule, dictElement) { }
3939

4040
static void id(Transaction *t,
41-
RuleWithActions *rule,
41+
const RuleWithActions *rule,
4242
std::vector<const VariableValue *> *l) {
4343
const RuleWithActions *r = rule;
4444

@@ -72,7 +72,7 @@ class Rule_DictElement : public VariableDictElement { \
7272

7373

7474
static void severity(Transaction *t,
75-
RuleWithActions *rule,
75+
const RuleWithActions *rule,
7676
std::vector<const VariableValue *> *l) {
7777
const RuleWithActions *r = rule;
7878

0 commit comments

Comments
 (0)