diff options
| author | Carl Hetherington <cth@carlh.net> | 2020-12-20 14:11:13 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2021-01-05 02:09:49 +0100 |
| commit | 47727a7c80b60a0fd0ce18d8347b14241fc48f97 (patch) | |
| tree | e1137ad3c8dc58ef5017011cdcc89a378b223092 /src/util.h | |
| parent | 64eb1161584a9813591cf958fbc2fa0208d58ce8 (diff) | |
std::shared_ptr
Diffstat (limited to 'src/util.h')
| -rw-r--r-- | src/util.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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); } |
