Skip to content

Commit cfb603f

Browse files
authored
Replace term "sample" with "example" for error references in range [C2551, C2580]
1 parent 8faaf3c commit cfb603f

12 files changed

+12
-12
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ The following represent the reasons C2552 may fire when an aggregate initializat
4646

4747
## Example
4848

49-
The following sample generates C2552:
49+
The following example generates C2552:
5050

5151
```cpp
5252
// C2552.cpp

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ A function in a derived class attempted to override a virtual function in a base
1616

1717
## Example
1818

19-
The following sample generates C2553:
19+
The following example generates C2553:
2020

2121
```cpp
2222
// C2553.cpp

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ is
3434
Guid CheckSources(Guid sourceID, Guid carouselIDs[]) [];
3535
```
3636
37-
The following sample generates C2555:
37+
The following example generates C2555:
3838
3939
```cpp
4040
// C2555.cpp

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ This error can be caused by an incorrect function prototype:
2424

2525
## Example
2626

27-
The following sample generates C2561:
27+
The following example generates C2561:
2828

2929
```cpp
3030
// C2561.cpp

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ This error may be fixed if you specify the return type in the function declarati
2020

2121
## Example
2222

23-
The following sample generates C2562:
23+
The following example generates C2562:
2424

2525
```cpp
2626
// C2562.cpp

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ The formal parameter list of a function (or a pointer to a function) does not ma
1616

1717
## Example
1818

19-
The following sample generates C2563:
19+
The following example generates C2563:
2020

2121
```cpp
2222
// C2563.cpp

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ If you must derive a type from the specified union or enumeration, change the un
1616

1717
## Example
1818

19-
The following sample generates C2569:
19+
The following example generates C2569:
2020

2121
```cpp
2222
// C2569.cpp

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ A union derives from a class, structure, or union. This is not allowed. Declare
1616

1717
## Example
1818

19-
The following sample generates C2570:
19+
The following example generates C2570:
2020

2121
```cpp
2222
// C2570.cpp

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ A union is declared with a virtual function. You can declare a virtual function
2020

2121
## Example
2222

23-
The following sample generates C2571:
23+
The following example generates C2571:
2424

2525
```cpp
2626
// C2571.cpp

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Default parameters cannot be redefined. If you require another value for the par
1616

1717
## Example
1818

19-
The following sample generates C2572:
19+
The following example generates C2572:
2020

2121
```cpp
2222
// C2572.cpp

0 commit comments

Comments
 (0)