From 5c1a2b69fb7e23baa1c53776d73e0820a642f89f Mon Sep 17 00:00:00 2001 From: Aditya Ardiya Date: Tue, 18 Oct 2022 22:22:50 +0900 Subject: [PATCH] Fix typo reference to pro-type-union (#1985) clang-tidy has [cppcoreguidelines-pro-type-union-access](https://clang.llvm.org/extra/clang-tidy/checks/cppcoreguidelines/pro-type-union-access.html) that refers to the pro-type-union. Unfortunately there's an typo. This commit tries to fix the type --- CppCoreGuidelines.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CppCoreGuidelines.md b/CppCoreGuidelines.md index 2cb5bd3..0af7ad6 100644 --- a/CppCoreGuidelines.md +++ b/CppCoreGuidelines.md @@ -21082,7 +21082,7 @@ Prefer [construction](#Res-construct) or [named casts](#Res-casts-named) or `T{e [always initialize](#Res-always), possibly using [default constructors](#Rc-default0) or [default member initializers](#Rc-in-class-initializer). -* Type.7: Avoid naked union: +* Type.7: Avoid naked union: [Use `variant` instead](#Ru-naked). * Type.8: Avoid varargs: [Don't use `va_arg` arguments](#F-varargs).