diff options
| author | Carl Hetherington <cth@carlh.net> | 2018-08-21 14:27:00 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2018-08-21 14:27:00 +0100 |
| commit | e2ebf847ce9d6e74a1b9d768475b8ae552cfba82 (patch) | |
| tree | 4aaf64c47cc3f0dcc7eb002b7ed86bb75bcee51d /src/lib/dcp_content.cc | |
| parent | 8c61932cc0425a67153fd9e8a34ec585bfa985c1 (diff) | |
Make Content::_paths private.
Diffstat (limited to 'src/lib/dcp_content.cc')
| -rw-r--r-- | src/lib/dcp_content.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/dcp_content.cc b/src/lib/dcp_content.cc index 0514ca6f7..2d375cf03 100644 --- a/src/lib/dcp_content.cc +++ b/src/lib/dcp_content.cc @@ -144,7 +144,7 @@ DCPContent::read_directory (boost::filesystem::path p) { for (boost::filesystem::directory_iterator i(p); i != boost::filesystem::directory_iterator(); ++i) { if (boost::filesystem::is_regular_file (i->path())) { - _paths.push_back (i->path()); + add_path (i->path()); } else if (boost::filesystem::is_directory (i->path ())) { read_directory (i->path()); } |
