summaryrefslogtreecommitdiff
path: root/configmgr/source/components.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'configmgr/source/components.cxx')
-rw-r--r--configmgr/source/components.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/configmgr/source/components.cxx b/configmgr/source/components.cxx
index ae0da5f759d6..f76f020089ae 100644
--- a/configmgr/source/components.cxx
+++ b/configmgr/source/components.cxx
@@ -154,9 +154,9 @@ void Components::initSingleton(
{
OSL_ASSERT(context.is());
if (!singletonCreated) {
- singletonCreated = true;
static Components theSingleton(context);
singleton = &theSingleton;
+ singletonCreated = true;
}
}