@@ -71,7 +71,7 @@ struct StreamInfo
7171 std::string channelPrefix,
7272 ContinuousChannel::Type channelType,
7373 float bitVolts,
74- std::string units,
74+ String units,
7575 std::vector<std::string> channelNameSuffixes,
7676 std::string channelIdentifierDataType,
7777 std::vector<std::string> channelIdentifierSubTypes,
@@ -161,7 +161,7 @@ struct StreamInfo
161161 std::string getChannelPrefix () const { return m_channelPrefix; }
162162 ContinuousChannel::Type getChannelType () const { return m_channelType; }
163163 float getBitVolts () const { return m_bitVolts; }
164- std::string getUnits () const { return m_units; }
164+ String getUnits () const { return m_units; }
165165 std::vector<std::string> getChannelNameSuffixes () const { return m_channelNameSuffixes; }
166166 std::string getChannelIdentifierDataType () const { return m_channelIdentifierDataType; }
167167 std::vector<std::string> getChannelIdentifierSubTypes () const { return m_channelIdentifierSubTypes; }
@@ -176,7 +176,7 @@ struct StreamInfo
176176 std::string m_channelPrefix = " channelPrefix" ;
177177 ContinuousChannel::Type m_channelType = ContinuousChannel::Type::INVALID;
178178 float m_bitVolts = 1 .0f ;
179- std::string m_units = " units" ;
179+ String m_units = " units" ;
180180 std::vector<std::string> m_channelNameSuffixes = { " suffixes" };
181181 std::string m_channelIdentifierDataType = " datatype" ;
182182 std::vector<std::string> m_channelIdentifierSubTypes = { " subtypes" };
0 commit comments