diff options
author | Noel Grandin <noelgrandin@gmail.com> | 2021-09-04 21:02:31 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-09-05 22:11:38 +0200 |
commit | 4cd3ce9848aa039b8d443a1257d1298231680b01 (patch) | |
tree | 1dfc5742b386bbd80a7888472fadc7122db3e115 /sc/inc | |
parent | ee8146d431b17d6a3e3be81400c539a2347aa0f9 (diff) |
no need to allocate DimensionNode with unique_ptr
Change-Id: Ia832d2098b72a9e88e7a708d205c49bd3e9c82a5
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121652
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/inc')
-rw-r--r-- | sc/inc/dpresfilter.hxx | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/sc/inc/dpresfilter.hxx b/sc/inc/dpresfilter.hxx index fcc41a296042..379989788559 100644 --- a/sc/inc/dpresfilter.hxx +++ b/sc/inc/dpresfilter.hxx @@ -66,11 +66,6 @@ private: MembersType maChildMembersValueNames; MembersType maChildMembersValues; - DimensionNode(); - DimensionNode(const DimensionNode&) = delete; - const DimensionNode& operator=(const DimensionNode&) = delete; - ~DimensionNode(); - #if DEBUG_PIVOT_TABLE void dump(int nLevel) const; #endif @@ -79,7 +74,7 @@ private: struct MemberNode { ValuesType maValues; - std::map<OUString, std::unique_ptr<DimensionNode>> maChildDimensions; + std::map<OUString, DimensionNode> maChildDimensions; MemberNode(); MemberNode(const MemberNode&) = delete; |