From 09e16aa3acf7878b54a4995a0be79890f26db09f Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Sat, 3 May 2014 20:18:07 +0100 Subject: Assorted test fixes. --- src/dcp.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/dcp.h') diff --git a/src/dcp.h b/src/dcp.h index 66486ca0..1fa7ae0c 100644 --- a/src/dcp.h +++ b/src/dcp.h @@ -69,11 +69,13 @@ public: */ DCP (boost::filesystem::path directory); + typedef std::list > ReadErrors; + /** Read the DCP's structure into this object. * @param keep_going true to try to keep going in the face of (some) errors. * @param errors List of errors that will be added to if keep_going is true. */ - void read (bool keep_going = false, std::list >* errors = 0); + void read (bool keep_going = false, ReadErrors* errors = 0); /** Compare this DCP with another, according to various options. * @param other DCP to compare this one to. -- cgit v1.2.3