diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-02-06 09:46:57 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-02-06 16:45:13 +0000 |
commit | c7258cfccdf9f4c5235da1b135801f957a5b0ec1 (patch) | |
tree | d5af5085ad1327afe2d41045ea452e017fea1fb6 /include/vcl/IconThemeScanner.hxx | |
parent | 027c383584bff4ea2aa7aa2b9e294e614087f28f (diff) |
shared_ptr<T>(new T(args)) -> make_shared<T>(args)
and boost:make_shared->std::make_shared
Change-Id: Ic1e187c52c856a7b27817967b2caa8920f23a98d
Diffstat (limited to 'include/vcl/IconThemeScanner.hxx')
-rw-r--r-- | include/vcl/IconThemeScanner.hxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/include/vcl/IconThemeScanner.hxx b/include/vcl/IconThemeScanner.hxx index f8654903d1ab..028173e9de59 100644 --- a/include/vcl/IconThemeScanner.hxx +++ b/include/vcl/IconThemeScanner.hxx @@ -15,7 +15,7 @@ #include <rtl/ustring.hxx> -#include <boost/shared_ptr.hpp> +#include <memory> #include <vector> // forward declaration of unit test class. Required for friend relationship. @@ -39,8 +39,7 @@ public: /** Factory method to create the object. * Provide a path to search for IconThemes. */ - static boost::shared_ptr<IconThemeScanner> - Create(const OUString &path); + static std::shared_ptr<IconThemeScanner> Create(const OUString &path); /** This method will return the standard path where icon themes are located. */ |