This commit is contained in:
John
2022-01-22 15:28:52 +01:00
parent 1e21850a2b
commit c499c4e74b
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -266,7 +266,7 @@ class DataField : public AttributedItem {
/** /**
* Get the specified field name. * Get the specified field name.
* @param fieldIndex the index of the field (excluding ignored fields), or -1 for this. * @param fieldIndex the index of the field (excluding ignored fields), or -1 for this.
* @return the field name, or the index as string is not unique or not available. * @return the field name, or the index as string if not unique or not available.
*/ */
virtual string getName(ssize_t fieldIndex) const = 0; virtual string getName(ssize_t fieldIndex) const = 0;
+1 -1
View File
@@ -282,7 +282,7 @@ class Message : public AttributedItem {
/** /**
* Get the specified field name. * Get the specified field name.
* @param fieldIndex the index of the field (excluding ignored fields). * @param fieldIndex the index of the field (excluding ignored fields).
* @return the field name, or the index as string if not unique, or empty not available. * @return the field name, or the index as string if not unique or not available.
*/ */
string getFieldName(ssize_t fieldIndex) const { return m_data->getName(fieldIndex); } string getFieldName(ssize_t fieldIndex) const { return m_data->getName(fieldIndex); }