Skip to content

Commit 70c881b

Browse files
authored
Correct typo: declspec => __declspec (#5097)
1 parent 9198d2f commit 70c881b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/cpp/attributes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ void f() {
159159

160160
### `[[msvc::noinline]]`
161161

162-
When placed before a function declaration, the Microsoft-specific attribute `[[msvc::noinline]]` has the same meaning as `declspec(noinline)`.
162+
When placed before a function declaration, the Microsoft-specific attribute `[[msvc::noinline]]` has the same meaning as `__declspec(noinline)`.
163163

164164
### `[[msvc::noinline_calls]]`
165165

0 commit comments

Comments
 (0)