diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-09-10 19:29:41 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-09-10 21:19:24 +0200 |
commit | 9490588c2460a77c16aacd52b7f449db60a6b34b (patch) | |
tree | 76860cb6ed37ef3804253d93eaefe0c22f0eb489 /include | |
parent | e8c940b73840868f26a537e159047e99d7ddae2c (diff) |
clang:optin.performance.Padding in tools
Excessive padding in 'class tools::JsonWriter' (15 padding bytes, where
7 is optimal).
Change-Id: I7e37eec095d935a344b2e5fea7bb108ee878472a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121920
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include')
-rw-r--r-- | include/tools/json_writer.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/tools/json_writer.hxx b/include/tools/json_writer.hxx index 2e50670c5b26..fb40e1920314 100644 --- a/include/tools/json_writer.hxx +++ b/include/tools/json_writer.hxx @@ -34,10 +34,10 @@ class TOOLS_DLLPUBLIC JsonWriter friend class ScopedJsonWriterArray; friend class ScopedJsonWriterStruct; - int mSpaceAllocated; char* mpBuffer; - int mStartNodeCount; char* mPos; + int mSpaceAllocated; + int mStartNodeCount; bool mbFirstFieldInNode; public: |