summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2018-08-22 10:38:51 +0100
committerCarl Hetherington <cth@carlh.net>2018-08-22 10:39:34 +0100
commiteb9ea628857e72a99070f139a2f868164f9e1e14 (patch)
tree92041ceaf2d4c64d36108037568945ac26acf804 /src/lib
parentf0f4b2371ff5cd6fc39239a3c201bae0c033d21f (diff)
Fix thinko in previous commit.
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/image_content.cc2
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) {