From 10f62ec17bbc2c1b1dd3db1c098610910d6e06a8 Mon Sep 17 00:00:00 2001 From: Charles Otto Date: Fri, 23 Jan 2015 21:11:35 -0800 Subject: [PATCH] Fix retrieveOrEnroll (the target memGallery must now be specified explicitly) --- openbr/core/core.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openbr/core/core.cpp b/openbr/core/core.cpp index 776d55d..4d4bb01 100644 --- a/openbr/core/core.cpp +++ b/openbr/core/core.cpp @@ -261,7 +261,7 @@ struct AlgorithmCore if (!galleryFiles.isEmpty()) return; // Enroll it - enroll(file); + enroll(file, getMemoryGallery(file)); gallery.reset(Gallery::make(getMemoryGallery(file))); galleryFiles = gallery->files(); } -- libgit2 0.21.4