From 47ab471eda256cd1cb5eabb8ff6e3e7e85e4bebe Mon Sep 17 00:00:00 2001 From: Charles Otto Date: Sun, 17 Nov 2013 23:21:30 -0500 Subject: [PATCH] Consolidate mask/mtx formats --- openbr/plugins/format.cpp | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/openbr/plugins/format.cpp b/openbr/plugins/format.cpp index 62d7a73..aad33e8 100644 --- a/openbr/plugins/format.cpp +++ b/openbr/plugins/format.cpp @@ -296,19 +296,9 @@ BR_REGISTER(Format, mtxFormat) * \brief Reads a NIST BEE mask matrix. * \author Josh Klontz \cite jklontz */ -class maskFormat : public Format +class maskFormat : public mtxFormat { Q_OBJECT - - Template read() const - { - return BEE::readMat(file); - } - - void write(const Template &t) const - { - BEE::writeMat(t, file); - } }; BR_REGISTER(Format, maskFormat) -- libgit2 0.21.4