Skip to content

Commit

Permalink
Fix duplicate #ifndef in blobclass.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
amitdo committed Jul 4, 2018
1 parent aa9f4b4 commit 134779f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/classify/blobclass.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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.
Expand Down

0 comments on commit 134779f

Please sign in to comment.