diff options
author | Michael Stahl <mstahl@redhat.com> | 2015-12-18 14:42:17 +0100 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2015-12-18 17:21:28 +0100 |
commit | 8795dff9199ed52c226a86c877cc6c9e48b62341 (patch) | |
tree | 95ee0838eb8d073efba3cc265da0d955d2957690 /sc/inc | |
parent | 85f17f9ea822421c6d31da90d7be83089f58cec2 (diff) |
sc: replace boost::ptr_map with std::map<std::unique_ptr>
Change-Id: Iaaf8e5f14691cde32058a78842b9c411f2b92d93
Diffstat (limited to 'sc/inc')
-rw-r--r-- | sc/inc/dpobject.hxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sc/inc/dpobject.hxx b/sc/inc/dpobject.hxx index c31031bad4fb..646817e350dc 100644 --- a/sc/inc/dpobject.hxx +++ b/sc/inc/dpobject.hxx @@ -33,6 +33,7 @@ #include <memory> #include <set> #include <vector> +#include <map> #include <boost/ptr_container/ptr_map.hpp> @@ -267,9 +268,9 @@ public: class SheetCaches { friend class ScDPCollection; - typedef boost::ptr_map<size_t, ScDPCache> CachesType; + typedef std::map<size_t, std::unique_ptr<ScDPCache>> CachesType; typedef std::vector<ScRange> RangeIndexType; - CachesType maCaches; + CachesType m_Caches; RangeIndexType maRanges; ScDocument* mpDoc; public: |