From 53067952142334dfe0d2bd6b9f0c3bfabc71bfa4 Mon Sep 17 00:00:00 2001 From: Tal Lancaster Date: Wed, 19 Apr 2017 16:30:43 -0600 Subject: [PATCH] ES.45/ES.46: renamed and reordered to match jump tags The anchors later in the file were using 46 for narrowing and 45 for magic. Renamed and reordered the tags in the TOC to match. --- CppCoreGuidelines.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CppCoreGuidelines.md b/CppCoreGuidelines.md index 7eb55ef..d46649a 100644 --- a/CppCoreGuidelines.md +++ b/CppCoreGuidelines.md @@ -9186,8 +9186,8 @@ Expression rules: * [ES.42: Keep use of pointers simple and straightforward](#Res-ptr) * [ES.43: Avoid expressions with undefined order of evaluation](#Res-order) * [ES.44: Don't depend on order of evaluation of function arguments](#Res-order-fct) -* [ES.45: Avoid narrowing conversions](#Res-narrowing) -* [ES.46: Avoid "magic constants"; use symbolic constants](#Res-magic) +* [ES.45: Avoid "magic constants"; use symbolic constants](#Res-magic) +* [ES.46: Avoid narrowing conversions](#Res-narrowing) * [ES.47: Use `nullptr` rather than `0` or `NULL`](#Res-nullptr) * [ES.48: Avoid casts](#Res-casts) * [ES.49: If you must use a cast, use a named cast](#Res-casts-named)