summaryrefslogtreecommitdiff
path: root/src/util.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2020-12-20 14:11:13 +0100
committerCarl Hetherington <cth@carlh.net>2021-01-05 02:09:49 +0100
commit47727a7c80b60a0fd0ce18d8347b14241fc48f97 (patch)
treee1137ad3c8dc58ef5017011cdcc89a378b223092 /src/util.h
parent64eb1161584a9813591cf958fbc2fa0208d58ce8 (diff)
std::shared_ptr
Diffstat (limited to 'src/util.h')
-rw-r--r--src/util.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util.h b/src/util.h
index fbf0fa6..28da387 100644
--- a/src/util.h
+++ b/src/util.h
@@ -22,7 +22,7 @@
*/
#include <boost/optional.hpp>
-#include <boost/shared_ptr.hpp>
+#include <memory>
#include <string>
#define LIBSUB_UNUSED(x) (void)(x)
@@ -35,6 +35,6 @@ extern bool empty_or_white_space (std::string s);
extern void remove_unicode_bom (boost::optional<std::string>& line);
extern boost::optional<std::string> get_line_file (FILE* f);
extern boost::optional<std::string> get_line_string (std::string* s);
-extern void dump (boost::shared_ptr<const Reader> read, std::ostream& os);
+extern void dump (std::shared_ptr<const Reader> read, std::ostream& os);
}