Skip to content

Commit c428fe5

Browse files
committed
Fix const modifier in getHistoricString()
1 parent 998a850 commit c428fe5

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

Source/Processors/Channel/InfoObjects.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ String NodeInfoBase::getCurrentNodeName() const
5656
HistoryObject::~HistoryObject()
5757
{}
5858

59-
String HistoryObject::getHistoricString()
59+
String HistoryObject::getHistoricString() const
6060
{
6161
return m_historicString;
6262
}

Source/Processors/Channel/InfoObjects.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ class PLUGIN_API HistoryObject
7171
public:
7272
virtual ~HistoryObject();
7373
/** Returns the historic string */
74-
String getHistoricString();
74+
String getHistoricString() const;
7575
/** Adds a new entry in the historic string*/
7676
void addToHistoricString(String entry);
7777

0 commit comments

Comments
 (0)