summaryrefslogtreecommitdiff
path: root/cppu/source/threadpool/current.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2021-09-10 19:31:37 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-09-10 21:19:48 +0200
commit9f46bcac09c7f1f8ef6f22ed9f366d1fd596f9d7 (patch)
tree7070c01e64a32524721b9014684debdfbae44ade /cppu/source/threadpool/current.cxx
parent9490588c2460a77c16aacd52b7f449db60a6b34b (diff)
clang:optin.performance.Padding in cppu
Excessive padding in 'struct cppu::IdContainer' (11 padding bytes, where 3 is optimal). Excessive padding in 'struct (anonymous namespace)::ObjectEntry' (11 padding bytes, where 3 is optimal). Change-Id: I39216b9927abeb8ec61ab590dc25bc203a112028 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121921 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'cppu/source/threadpool/current.cxx')
-rw-r--r--cppu/source/threadpool/current.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/cppu/source/threadpool/current.cxx b/cppu/source/threadpool/current.cxx
index 6a992c6af541..d085cb4a5092 100644
--- a/cppu/source/threadpool/current.cxx
+++ b/cppu/source/threadpool/current.cxx
@@ -83,10 +83,10 @@ static typelib_InterfaceTypeDescription * get_type_XCurrentContext()
IdContainer::IdContainer()
: pCurrentContext(nullptr)
, pCurrentContextEnv(nullptr)
- , bInit(false)
, pLocalThreadId(nullptr)
- , nRefCountOfCurrentId(0)
, pCurrentId(nullptr)
+ , nRefCountOfCurrentId(0)
+ , bInit(false)
{
}