From a83fa295c3c59f7fd50c2ac9d1f153a4b268f4fb Mon Sep 17 00:00:00 2001 From: Scott Klum Date: Thu, 11 Jun 2015 14:04:51 -0400 Subject: [PATCH] Fixed vec writing --- openbr/plugins/gallery/vec.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/openbr/plugins/gallery/vec.cpp b/openbr/plugins/gallery/vec.cpp index 0226798..40a3b22 100644 --- a/openbr/plugins/gallery/vec.cpp +++ b/openbr/plugins/gallery/vec.cpp @@ -1,4 +1,5 @@ #include +#include namespace br { @@ -40,12 +41,16 @@ class vecGallery : public FileGallery if (write1 != sizeof(count) || write2 != sizeof(size) || write3 != sizeof(temp) || write4 != sizeof(temp)) qFatal("Failed to write header."); - for (int i=0; i