diff options
author | hjk <[email protected]> | 2025-07-01 10:27:33 +0200 |
---|---|---|
committer | hjk <[email protected]> | 2025-07-01 12:30:58 +0000 |
commit | f18d9abcca2438ae3a6bd924329f710bdde50032 (patch) | |
tree | c0a36b9e54641bf7a3ac6792c73954a0f4e4f91d | |
parent | 859a48241e78de46ddea5e1366b26c95c4ea1610 (diff) |
Use the usual namespace pattern.
Change-Id: Ia73a0e15c2f61dee17fcd9c6a2685fae8743f787
Reviewed-by: Christian Kandeler <[email protected]>
-rw-r--r-- | src/plugins/projectexplorer/projectconfiguration.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/plugins/projectexplorer/projectconfiguration.cpp b/src/plugins/projectexplorer/projectconfiguration.cpp index 353ea2aaf13..002a3ea442f 100644 --- a/src/plugins/projectexplorer/projectconfiguration.cpp +++ b/src/plugins/projectexplorer/projectconfiguration.cpp @@ -10,10 +10,9 @@ #include <utils/macroexpander.h> #include <utils/qtcassert.h> -using namespace ProjectExplorer; using namespace Utils; -// ProjectConfiguration +namespace ProjectExplorer { ProjectConfiguration::ProjectConfiguration(Target *target, Id id) : m_target(target) @@ -90,7 +89,7 @@ void ProjectConfiguration::fromMap(const Store &map) AspectContainer::fromMap(map); } -Id ProjectExplorer::idFromMap(const Store &map) +Id idFromMap(const Store &map) { return Id::fromSetting(map.value(Constants::CONFIGURATION_ID_KEY)); } @@ -99,3 +98,5 @@ QString ProjectConfiguration::expandedDisplayName() const { return macroExpander()->expand(m_displayName.value()); } + +} // namespace ProjectExplorer |