Skip to content

Commit 6f2b481

Browse files
authored
Simplify and tweak example in C2556 error reference
1 parent 473f8b1 commit 6f2b481

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

docs/error-messages/compiler-errors-2/compiler-error-c2556.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,7 @@ The following example generates C2556:
2121
```cpp
2222
// C2556.cpp
2323
// compile with: /c
24-
class C {
25-
int func();
26-
double func(); // C2556
27-
int func(int i); // ok parameter lists differ
28-
};
24+
int func();
25+
double func(); // C2556
26+
int func(int i); // OK parameter lists differ
2927
```

0 commit comments

Comments
 (0)