From 721e294a8128cd1cb16b666aa45e00db0c6adc2b Mon Sep 17 00:00:00 2001 From: sklum Date: Wed, 17 Jul 2013 17:50:22 -0400 Subject: [PATCH] FTO flag check is prohibitively time consuming --- openbr/plugins/distance.cpp | 2 -- 1 file changed, 0 insertions(+), 2 deletions(-) diff --git a/openbr/plugins/distance.cpp b/openbr/plugins/distance.cpp index cf5010c..7f0cf71 100644 --- a/openbr/plugins/distance.cpp +++ b/openbr/plugins/distance.cpp @@ -56,8 +56,6 @@ private: float compare(const Template &a, const Template &b) const { - if (a.file.getBool("FTO") || b.file.getBool("FTO")) return -std::numeric_limits::max(); - if ((a.m().size != b.m().size) || (a.m().type() != b.m().type())) return -std::numeric_limits::max(); -- libgit2 0.21.4