diff options
| author | Carl Hetherington <cth@carlh.net> | 2016-01-05 01:24:19 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2016-01-05 01:24:19 +0000 |
| commit | 5ee3348142f4cfafdbcf2c9c833843d717affc11 (patch) | |
| tree | 1c97c80eeccc6b5f515a611e35dee35b21d3b09b /src/dcp.cc | |
| parent | 740938890d95e853cf13d4780a5d674c3d6c7f6f (diff) | |
Various IMF hacks.imf
Diffstat (limited to 'src/dcp.cc')
| -rw-r--r-- | src/dcp.cc | 6 |
1 files changed, 1 insertions, 5 deletions
@@ -63,11 +63,7 @@ DCP::write_xml ( list<shared_ptr<DCPCPL> > DCP::cpls () const { - list<shared_ptr<DCPCPL> > d; - BOOST_FOREACH (shared_ptr<CPL> i, _cpls) { - d.push_back (dynamic_pointer_cast<DCPCPL> (i)); - } - return d; + return cpls_of_type<DCPCPL> (); } shared_ptr<CPL> |
