Skip to content

Commit 134779f

Browse files
committed
Fix duplicate #ifndef in blobclass.cpp
1 parent aa9f4b4 commit 134779f

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/classify/blobclass.cpp

+1-2
Original file line numberDiff line numberDiff line change
@@ -61,11 +61,11 @@ void ExtractFontName(const STRING& filename, STRING* fontname) {
6161
}
6262
}
6363

64-
#ifndef DISABLED_LEGACY_ENGINE
6564

6665
/*---------------------------------------------------------------------------*/
6766

6867
#ifndef DISABLED_LEGACY_ENGINE
68+
6969
// Extracts features from the given blob and saves them in the tr_file_data_
7070
// member variable.
7171
// fontname: Name of font that this blob was printed in.
@@ -97,7 +97,6 @@ void Classify::LearnBlob(const STRING& fontname, TBLOB* blob,
9797
}
9898
FreeCharDescription(CharDesc);
9999
} // LearnBlob
100-
#endif // ndef DISABLED_LEGACY_ENGINE
101100

102101
// Writes stored training data to a .tr file based on the given filename.
103102
// Returns false on error.

0 commit comments

Comments
 (0)