diff options
author | Michael Stahl <mstahl@redhat.com> | 2015-07-17 13:11:32 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2015-07-17 17:27:15 +0200 |
commit | 50cf52bd0eb45a2f8ca91bbd64def942ef191f2f (patch) | |
tree | f64bb0ee7a89e7299d8cd26fc5af5eb6f80676d8 /include/svl | |
parent | 4d84153e22bdda33b23deb4c32afcace4c1264f7 (diff) |
svl: replace boost::ptr_vector with std::vector<std::unique_ptr>
Change-Id: Ie1174d57b696f49c05010ece1b721185b0904fd6
Diffstat (limited to 'include/svl')
-rw-r--r-- | include/svl/currencytable.hxx | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/include/svl/currencytable.hxx b/include/svl/currencytable.hxx index 44ead72418b7..b7a074be99dc 100644 --- a/include/svl/currencytable.hxx +++ b/include/svl/currencytable.hxx @@ -12,11 +12,13 @@ #include <svl/svldllapi.h> #include <svl/zforlist.hxx> -#include <boost/ptr_container/ptr_vector.hpp> + +#include <vector> +#include <memory> class SVL_DLLPUBLIC NfCurrencyTable { - typedef boost::ptr_vector<NfCurrencyEntry> DataType; + typedef std::vector<std::unique_ptr<NfCurrencyEntry>> DataType; DataType maData; public: typedef DataType::iterator iterator; @@ -29,7 +31,7 @@ public: size_t size() const; - void insert( iterator it, NfCurrencyEntry* p ); + void insert(iterator it, std::unique_ptr<NfCurrencyEntry> p); }; #endif |