Skip to content

Commit a411fc1

Browse files
authored
Replace term "sample" with "example" for warning references in range [C4521, C4560]
1 parent 4057a7b commit a411fc1

22 files changed

+23
-23
lines changed

docs/error-messages/compiler-warnings/compiler-warning-level-1-c4530.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ If no exceptions can possibly be thrown in your executable, you may safely ignor
2626

2727
## Example
2828

29-
The following sample generates C4530:
29+
The following example generates C4530:
3030

3131
```cpp
3232
// C4530.cpp
@@ -36,4 +36,4 @@ int main() {
3636
}
3737
```
3838

39-
Compile the sample with **`/EHsc`** to resolve the warning.
39+
Compile the example with **`/EHsc`** to resolve the warning.

docs/error-messages/compiler-warnings/compiler-warning-level-1-c4532.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ The [`/sdl` (Enable Additional Security Checks)](../../build/reference/sdl-enabl
3030

3131
## Example
3232

33-
The following sample generates C4532; delete or comment out the jump statements to resolve the warnings.
33+
The following example generates C4532; delete or comment out the jump statements to resolve the warnings.
3434

3535
```cpp
3636
// C4532.cpp

docs/error-messages/compiler-warnings/compiler-warning-level-1-c4533.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ The [`/sdl` (Enable Additional Security Checks)](../../build/reference/sdl-enabl
1818

1919
## Example
2020

21-
The following sample generates C4533. To resolve the issue, move the initialization before the jump instruction or after the target of the jump.
21+
The following example generates C4533. To resolve the issue, move the initialization before the jump instruction or after the target of the jump.
2222

2323
```cpp
2424
// C4533.cpp

docs/error-messages/compiler-warnings/compiler-warning-level-1-c4537.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ A reference was passed where an object (user-defined type) was expected. A refer
1616

1717
## Example
1818

19-
The following sample generates C4537 and shows how to fix it:
19+
The following example generates C4537 and shows how to fix it:
2020

2121
```cpp
2222
// C4537.cpp

docs/error-messages/compiler-warnings/compiler-warning-level-1-c4544.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ A default template argument was specified in an incorrect location and was ignor
1616

1717
## Example
1818

19-
This sample generates C4545, and the next sample shows how to fix it:
19+
This example generates C4545, and the next example shows how to fix it:
2020

2121
```cpp
2222
// C4544.cpp

docs/error-messages/compiler-warnings/compiler-warning-level-1-c4545.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ This warning is off by default. For more information, see [Compiler Warnings Tha
1818

1919
## Example
2020

21-
The following sample generates C4545:
21+
The following example generates C4545:
2222

2323
```cpp
2424
// C4545.cpp

docs/error-messages/compiler-warnings/compiler-warning-level-1-c4546.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ This warning is off by default. For more information, see [Compiler Warnings Tha
1818

1919
## Example
2020

21-
The following sample generates C4546:
21+
The following example generates C4546:
2222

2323
```cpp
2424
// C4546.cpp

docs/error-messages/compiler-warnings/compiler-warning-level-1-c4547.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ This warning is off by default. For more information, see [Compiler Warnings Tha
1818

1919
## Example
2020

21-
The following sample generates C4547:
21+
The following example generates C4547:
2222

2323
```cpp
2424
// C4547.cpp

docs/error-messages/compiler-warnings/compiler-warning-level-1-c4548.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ This warning is off by default. For more information, see [Compiler Warnings Tha
1818

1919
## Example
2020

21-
The following sample generates C4548:
21+
The following example generates C4548:
2222

2323
```cpp
2424
// C4548.cpp

docs/error-messages/compiler-warnings/compiler-warning-level-1-c4549.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ This warning is off by default. For more information, see [Compiler Warnings Tha
1818

1919
## Example
2020

21-
The following sample generates C4549:
21+
The following example generates C4549:
2222

2323
```cpp
2424
// C4549.cpp

0 commit comments

Comments
 (0)