management: change ForwarderStatus.NfdVersion to string
refs #2003
Breaks: nfd:commit:afbd74d9f18f73863927c503c0024c7e5b32ec9f
Change-Id: I195efa5633b643708165a4b1b2e60e56b8a6f17e
diff --git a/src/management/nfd-forwarder-status.hpp b/src/management/nfd-forwarder-status.hpp
index 90ec7a5..c45d403 100644
--- a/src/management/nfd-forwarder-status.hpp
+++ b/src/management/nfd-forwarder-status.hpp
@@ -74,14 +74,14 @@
wireDecode(const Block& wire);
public: // getters & setters
- int
+ const std::string&
getNfdVersion() const
{
return m_nfdVersion;
}
ForwarderStatus&
- setNfdVersion(int nfdVersion);
+ setNfdVersion(const std::string& nfdVersion);
const time::system_clock::TimePoint&
getStartTimestamp() const
@@ -183,7 +183,7 @@
setNOutDatas(uint64_t nOutDatas);
private:
- int m_nfdVersion;
+ std::string m_nfdVersion;
time::system_clock::TimePoint m_startTimestamp;
time::system_clock::TimePoint m_currentTimestamp;
size_t m_nNameTreeEntries;