Commit f71f14e0 for tesseract
commit f71f14e0b7ef2e4a7e33d14b00d70a8e7f186776
Author: Dmitry <45711841+darkdi@users.noreply.github.com>
Date: Thu Aug 13 08:16:43 2026 +0300
Fix two \param names that refer to the member, not the argument (#4594)
Both constructors document the field the argument is stored into rather
than the argument itself, so Doxygen renders a parameter that does not
exist and leaves the real one undocumented.
Comments only.
diff --git a/src/classify/ocrfeatures.h b/src/classify/ocrfeatures.h
index a22b6f4b..9f4e418f 100644
--- a/src/classify/ocrfeatures.h
+++ b/src/classify/ocrfeatures.h
@@ -70,7 +70,7 @@ using FEATURE = FEATURE_STRUCT *;
struct FEATURE_SET_STRUCT {
/// Creator for a new feature set large enough to
/// hold the specified number of features.
- /// @param NumFeatures maximum # of features to be put in feature set
+ /// @param numFeatures maximum # of features to be put in feature set
FEATURE_SET_STRUCT(int numFeatures) : NumFeatures(0), MaxNumFeatures(numFeatures), Features(numFeatures) {
}
diff --git a/src/training/common/commontraining.h b/src/training/common/commontraining.h
index f7c1bfe0..e94fc64b 100644
--- a/src/training/common/commontraining.h
+++ b/src/training/common/commontraining.h
@@ -78,7 +78,7 @@ extern CLUSTERCONFIG Config;
struct LABELEDLISTNODE {
/// This constructor allocates a new, empty labeled list and gives
/// it the specified label.
- /// @param Label label for new list
+ /// @param label label for new list
LABELEDLISTNODE(const char *label) : Label(label) {
}
std::string Label;