From eb9ea628857e72a99070f139a2f868164f9e1e14 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Wed, 22 Aug 2018 10:38:51 +0100 Subject: Fix thinko in previous commit. --- src/lib/image_content.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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) 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) { -- cgit v1.2.3