From da1cb49ee9fd13322aa643d6d062b79413be6473 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Tue, 22 Jul 2014 13:50:57 +0100 Subject: Some include trimming,. --- src/dcp.cc | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'src/dcp.cc') diff --git a/src/dcp.cc b/src/dcp.cc index 397bdac0..58b6c66f 100644 --- a/src/dcp.cc +++ b/src/dcp.cc @@ -31,7 +31,6 @@ #include "util.h" #include "metadata.h" #include "exceptions.h" -#include "reel.h" #include "cpl.h" #include "signer.h" #include "compose.hpp" @@ -43,15 +42,12 @@ #include #include #include -#include -#include #include #include using std::string; using std::list; using std::cout; -using std::stringstream; using std::ostream; using std::make_pair; using std::map; @@ -237,9 +233,7 @@ boost::filesystem::path DCP::write_pkl (Standard standard, string pkl_uuid, XMLMetadata metadata, shared_ptr signer) const { boost::filesystem::path p = _directory; - stringstream s; - s << pkl_uuid << "_pkl.xml"; - p /= s.str(); + p /= String::compose ("%1_pkl.xml", pkl_uuid); xmlpp::Document doc; xmlpp::Element* pkl; -- cgit v1.2.3