From c3bae54bb7b0b1e4b6d9a7beefb2d0b726dc38e7 Mon Sep 17 00:00:00 2001 From: Josh Klontz Date: Thu, 5 Nov 2015 14:17:53 -0500 Subject: [PATCH] fixed #441 --- openbr/plugins/gallery/lmdb.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openbr/plugins/gallery/lmdb.cpp b/openbr/plugins/gallery/lmdb.cpp index 8dea0f2..84a1176 100644 --- a/openbr/plugins/gallery/lmdb.cpp +++ b/openbr/plugins/gallery/lmdb.cpp @@ -119,7 +119,7 @@ class lmdbGallery : public Gallery if (!base->observedLabels.contains(label_str) ) - base->observedLabels[label_str] = base->observedLabels.size(); + base->observedLabels.insert(label_str, base->observedLabels.size()); datum.set_label(base->observedLabels[label_str]); -- libgit2 0.21.4