diff options
author | David Tardon <dtardon@redhat.com> | 2017-07-29 19:16:36 +0200 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2017-07-29 19:16:36 +0200 |
commit | 6f04b3bd154968043b224fc0b7d8c2fbf0512ad9 (patch) | |
tree | df18abb1b986f604ababf681ad912e7999564e68 /src | |
parent | 2e3d261c7ce8ca27ca06c9920d6aa55c24f28794 (diff) |
boost::scoped_ptr -> std::unique_ptr
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/SW602Document.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/SW602Document.cpp b/src/lib/SW602Document.cpp index 62fd91d..91f7988 100644 --- a/src/lib/SW602Document.cpp +++ b/src/lib/SW602Document.cpp @@ -10,8 +10,8 @@ #include <libsw602/SW602Document.h> #include <cassert> +#include <memory> -#include <boost/scoped_ptr.hpp> #include <boost/shared_ptr.hpp> #include <librevenge-stream/librevenge-stream.h> @@ -111,7 +111,7 @@ SW602Document::Confidence SW602Document::isSupported(librevenge::RVNGInputStream { if (input->existsSubStream("CONTENTS")) { - const boost::scoped_ptr<RVNGInputStream> content(input->getSubStreamByName("CONTENTS")); + const std::unique_ptr<RVNGInputStream> content(input->getSubStreamByName("CONTENTS")); if (bool(content)) { if (probe<WinText602Header>(*content, info)) |