Skip to content

Commit

Permalink
try fixing compilation error
Browse files Browse the repository at this point in the history
  • Loading branch information
facontidavide committed Apr 25, 2024
1 parent 800047d commit 5593aef
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion plotjuggler_plugins/ParserLineInflux/line_parser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,8 @@ class MsgParserImpl : public MessageParser
if (value.startsWith('"') && value.endsWith('"'))
{
auto& data = _plot_data.getOrCreateStringSeries(key);
data.pushBack({ ts_sec, StringRef(value.data() + 1, value.size() - 2) });
data.pushBack(PJ::StringSeries::Point(
ts_sec, StringRef(value.data() + 1, value.size() - 2)));
}
else if (value == "t" || value == "T" || value == "true" || value == "True" ||
value == "TRUE")
Expand Down

0 comments on commit 5593aef

Please sign in to comment.