File tree 1 file changed +3
-3
lines changed
cpp/autosar/test/rules/A0-1-3
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -116,7 +116,7 @@ static int overload1(int c) // COMPLIANT - called
116
116
return ++c;
117
117
}
118
118
119
- static int overload1 (int c, int d) // COMPLAINT - overload1(int) is called.
119
+ static int overload1 (int c, int d) // COMPLIANT - overload1(int) is called.
120
120
{
121
121
return c + d;
122
122
}
@@ -128,11 +128,11 @@ class classWithOverloads {
128
128
int caller (int x) { return overloadMember (x, 0 ); }
129
129
130
130
private:
131
- int overloadMember (int c) // COMPLAINT - overloadMember(int, int) is called.
131
+ int overloadMember (int c) // COMPLIANT - overloadMember(int, int) is called.
132
132
{
133
133
return ++c;
134
134
}
135
- int overloadMember (int c, int d) // COMPLAINT - called.
135
+ int overloadMember (int c, int d) // COMPLIANT - called.
136
136
{
137
137
return c + d;
138
138
}
You can’t perform that action at this time.
0 commit comments