summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
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) {