From 87dfe4725a6a412fd4dc5fc1a371bca2e0492f29 Mon Sep 17 00:00:00 2001 From: hjk Date: Thu, 7 Jul 2022 14:36:25 +0200 Subject: [PATCH] Adjust coding style to C++17 nested namespaces Change-Id: I34376108d77e0faeb6498cefedb563276f42fefa Reviewed-by: Eike Ziller --- doc/qtcreatordev/src/coding-style.qdoc | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/doc/qtcreatordev/src/coding-style.qdoc b/doc/qtcreatordev/src/coding-style.qdoc index 19adf253d90..10af02db7bf 100644 --- a/doc/qtcreatordev/src/coding-style.qdoc +++ b/doc/qtcreatordev/src/coding-style.qdoc @@ -569,8 +569,7 @@ ... using namespace Utils; - namespace Foo { - namespace Internal { + namespace Foo::Internal { void SomeThing::bar() { @@ -578,8 +577,7 @@ ... } ... - } // namespace Internal // or only // Internal - } // namespace Foo // or only // Foo + } // Foo::Internal // or // namespace Foo::Internal -NOT-