diff options
| author | Carl Hetherington <cth@carlh.net> | 2018-08-22 10:38:51 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2018-08-22 10:39:34 +0100 |
| commit | eb9ea628857e72a99070f139a2f868164f9e1e14 (patch) | |
| tree | 92041ceaf2d4c64d36108037568945ac26acf804 /src | |
| parent | f0f4b2371ff5cd6fc39239a3c201bae0c033d21f (diff) | |
Fix thinko in previous commit.
Diffstat (limited to 'src')
| -rw-r--r-- | src/lib/image_content.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/image_content.cc b/src/lib/image_content.cc index 53f0aa8c2..9e0bb09b5 100644 --- a/src/lib/image_content.cc +++ b/src/lib/image_content.cc @@ -110,7 +110,7 @@ ImageContent::examine (shared_ptr<Job> job) int n = 0; for (boost::filesystem::directory_iterator i(*_path_to_scan); i != boost::filesystem::directory_iterator(); ++i) { if (boost::filesystem::is_regular_file (i->path()) && valid_image_file (i->path())) { - add_path (i->path()); + paths.push_back (i->path()); } ++n; if ((n % 1000) == 0) { |
