diff options
author | Friedemann Kleint <[email protected]> | 2023-09-18 09:55:49 +0200 |
---|---|---|
committer | Friedemann Kleint <[email protected]> | 2023-09-20 13:44:47 +0200 |
commit | 2cc7ded80caa506263ba2c9fd87db76dae71956a (patch) | |
tree | 353da05cded3d6ca9dd0efa5d4cb4a34e0dc57bf /sources/pyside6/libpyside/feature_select.cpp | |
parent | c47bc0eea7348020d748f67555f60542ff496c0a (diff) |
Fix namespaces
- Use nested namespaces instead repetitive namespace declaration
- Remove anonymous namespaces that contain only static functions.
"static" is sufficient here, the anonymous namespace only increases
compilation time.
Pick-to: 6.6 6.5
Change-Id: I6cd1b63da79eaf40a1b7ae031def97fa22903e99
Reviewed-by: Shyamnath Premnadh <[email protected]>
Diffstat (limited to 'sources/pyside6/libpyside/feature_select.cpp')
-rw-r--r-- | sources/pyside6/libpyside/feature_select.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sources/pyside6/libpyside/feature_select.cpp b/sources/pyside6/libpyside/feature_select.cpp index b3b692578..8c4c4bae1 100644 --- a/sources/pyside6/libpyside/feature_select.cpp +++ b/sources/pyside6/libpyside/feature_select.cpp @@ -89,7 +89,7 @@ This is everything that the following code does. *****************************************************************************/ -namespace PySide { namespace Feature { +namespace PySide::Feature { using namespace Shiboken; @@ -778,5 +778,4 @@ SIMILAR_FEATURE(20) SIMILAR_FEATURE(40) SIMILAR_FEATURE(80) -} // namespace PySide -} // namespace Feature +} // namespace PySide::Feature |