From 134779f758cd13badff24bbc213b6fe30d63afd3 Mon Sep 17 00:00:00 2001 From: amitdo Date: Wed, 4 Jul 2018 08:49:58 +0300 Subject: [PATCH] Fix duplicate #ifndef in blobclass.cpp --- src/classify/blobclass.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/classify/blobclass.cpp b/src/classify/blobclass.cpp index 8de978dbf1..1881fac3a6 100644 --- a/src/classify/blobclass.cpp +++ b/src/classify/blobclass.cpp @@ -61,11 +61,11 @@ void ExtractFontName(const STRING& filename, STRING* fontname) { } } -#ifndef DISABLED_LEGACY_ENGINE /*---------------------------------------------------------------------------*/ #ifndef DISABLED_LEGACY_ENGINE + // Extracts features from the given blob and saves them in the tr_file_data_ // member variable. // fontname: Name of font that this blob was printed in. @@ -97,7 +97,6 @@ void Classify::LearnBlob(const STRING& fontname, TBLOB* blob, } FreeCharDescription(CharDesc); } // LearnBlob -#endif // ndef DISABLED_LEGACY_ENGINE // Writes stored training data to a .tr file based on the given filename. // Returns false on error.