Skip to content

Commit c56afd5

Browse files
TylerMSFTTylerMSFT
authored andcommitted
cleanup link
1 parent 9f3980d commit c56afd5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/error-messages/compiler-warnings/compiler-warning-level-3-c4316.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ ms.assetid: 10371f01-aeb8-40ac-a290-59e63efa5ad4
99

1010
Object allocated on the heap may not be aligned for this type.
1111

12-
An over-aligned object allocated by using `operator new` may not have the specified alignment. Override [operator new](../../c-runtime-library/operator-new-crt.md) and [operator delete](../../c-runtime-library/operator-delete-crt.md) for over-aligned types so that they use the aligned allocation routines—for example, [_aligned_malloc](../../c-runtime-library/reference/aligned-malloc.md) and [_aligned_free](../../c-runtime-library/reference/aligned-free.md). The following sample generates C4316:
12+
An over-aligned object allocated by using `operator new` may not have the specified alignment. Override [operator new](../../c-runtime-library/new-operator-crt.md) and [operator delete](../../c-runtime-library/delete-operator-crt.md) for over-aligned types so that they use the aligned allocation routines—for example, [_aligned_malloc](../../c-runtime-library/reference/aligned-malloc.md) and [_aligned_free](../../c-runtime-library/reference/aligned-free.md). The following sample generates C4316:
1313

1414
```cpp
1515
// C4316.cpp

0 commit comments

Comments
 (0)