Skip to content

Commit

Permalink
formatted text
Browse files Browse the repository at this point in the history
  • Loading branch information
wsobel committed Jun 19, 2024
1 parent 8a46a93 commit 5dac7d0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/mtconnect/pipeline/json_mapper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1028,7 +1028,7 @@ namespace mtconnect::pipeline {
ParserContext context(m_context);
context.m_forward = [this](entity::EntityPtr &&entity) { next(std::move(entity)); };
context.m_source = source;

TopLevelHandler handler(context);
if (device)
handler.m_context.m_defaultDevice = device;
Expand Down
2 changes: 1 addition & 1 deletion src/mtconnect/pipeline/topic_mapper.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ namespace mtconnect::pipeline {
std::tie(device, dataItem) = resolve(*topic);
}
}

result = std::make_shared<DataMessage>("DataMessage", props);
}
result->m_dataItem = dataItem;
Expand Down

0 comments on commit 5dac7d0

Please sign in to comment.