From 3152b9405c60335c8566b3ed4ca4be4fa7aaa650 Mon Sep 17 00:00:00 2001 From: Austin Van Blanton Date: Thu, 8 Aug 2013 13:56:56 -0400 Subject: [PATCH] DropFrames is better, no need to check for empty in AggregateFrames --- openbr/plugins/frames.cpp | 3 --- 1 file changed, 0 insertions(+), 3 deletions(-) diff --git a/openbr/plugins/frames.cpp b/openbr/plugins/frames.cpp index 18d7b94..7467a18 100644 --- a/openbr/plugins/frames.cpp +++ b/openbr/plugins/frames.cpp @@ -29,9 +29,6 @@ private: void projectUpdate(const Template &src, Template &dst) { - // DropFrames will pass on empty Templates - // but we only want to use non-dropped frames - if (src.empty()) return; buffer.append(src); if (buffer.size() < n) return; foreach (const Template &t, buffer) dst.append(t); -- libgit2 0.21.4