File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
cpp/autosar/test/rules/A0-1-3 Expand file tree Collapse file tree 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
116116 return ++c;
117117}
118118
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.
120120{
121121 return c + d;
122122}
@@ -128,11 +128,11 @@ class classWithOverloads {
128128 int caller (int x) { return overloadMember (x, 0 ); }
129129
130130private:
131- int overloadMember (int c) // COMPLAINT - overloadMember(int, int) is called.
131+ int overloadMember (int c) // COMPLIANT - overloadMember(int, int) is called.
132132 {
133133 return ++c;
134134 }
135- int overloadMember (int c, int d) // COMPLAINT - called.
135+ int overloadMember (int c, int d) // COMPLIANT - called.
136136 {
137137 return c + d;
138138 }
You can’t perform that action at this time.
0 commit comments