Bump libdcp.
[libsub.git] / src / util.h
index 738a02af5bb4817786c23b4a5d56af3919dc3302..28da387f2ba8327c5da4ee6be4171baf9cf70617 100644 (file)
  */
 
 #include <boost/optional.hpp>
+#include <memory>
 #include <string>
 
+#define LIBSUB_UNUSED(x) (void)(x)
+
 namespace sub {
 
 class Reader;
@@ -32,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);
 
 }