Skip to content

Commit 10c8ee9

Browse files
author
JiayueHu
authored
Update diagnostic-services.md
1 parent 7390555 commit 10c8ee9

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎docs/mfc/reference/diagnostic-services.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ A pointer to a class object.
171171
172172
The *pobject* parameter should be a pointer to an object and can be **const**. The object pointed to and the class must support `CObject` run-time class information. As an example, to ensure that `pDocument` is a pointer to an object of the `CMyDoc` class, or any of its derivatives, you could code:
173173
174-
[!code-cpp\[NVC_MFCDocView#194](../../mfc/codesnippet/cpp/diagnostic-services_3.cpp)]
174+
[!code-cpp[NVC_MFCDocView#194](../../mfc/codesnippet/cpp/diagnostic-services_3.cpp)]
175175
176176
Using the `ASSERT_KINDOF` macro is exactly the same as coding:
177177
@@ -920,4 +920,4 @@ Stack, global, or embedded objects are not enumerated. The pointer passed to `Af
920920

921921
## See Also
922922

923-
[Macros and Globals](../../mfc/reference/mfc-macros-and-globals.md)
923+
[Macros and Globals](../../mfc/reference/mfc-macros-and-globals.md)

0 commit comments

Comments
 (0)