diff options
| author | Carl Hetherington <cth@carlh.net> | 2016-01-10 14:13:43 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2016-01-10 14:13:43 +0000 |
| commit | 0ffc4c35a9ae232f3bed9329997c043c42372f6f (patch) | |
| tree | 9d1373403362572518600e163e7caad2f63b67a4 /tools | |
| parent | 93f29880839dc5589bb35f63260a7152ead7655f (diff) | |
Template Package and bring some stuff up to there and PackageBase.
Diffstat (limited to 'tools')
| -rw-r--r-- | tools/common.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/common.cc b/tools/common.cc index c8b7c606..ed1e823a 100644 --- a/tools/common.cc +++ b/tools/common.cc @@ -27,9 +27,9 @@ using boost::dynamic_pointer_cast; void dcp::filter_errors (dcp::dc::Package::ReadErrors& errors, bool ignore_missing_assets) { - for (Package::ReadErrors::iterator i = errors.begin(); i != errors.end(); ) { + for (PackageBase::ReadErrors::iterator i = errors.begin(); i != errors.end(); ) { - Package::ReadErrors::iterator tmp = i; + PackageBase::ReadErrors::iterator tmp = i; ++tmp; if (ignore_missing_assets && dynamic_pointer_cast<MissingAssetError> (*i)) { |
