Skip to content

Commit

Permalink
dissect: avoid deprecated overload of ndn::escape
Browse files Browse the repository at this point in the history
Change-Id: Ifb9ffa1400b4109b4400f59367a079dac3a4e792
  • Loading branch information
Pesa committed Apr 25, 2023
1 parent 003e45a commit 0df0e1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/dissect/dissector.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ Dissector::printBlock(const Block& block)
const auto& elements = block.elements();
if (elements.empty()) {
m_out << " [[";
escape(m_out, reinterpret_cast<const char*>(block.value()), block.value_size());
escape(m_out, {reinterpret_cast<const char*>(block.value()), block.value_size()});
m_out << "]]";
}
m_out << "\n";
Expand Down

0 comments on commit 0df0e1c

Please sign in to comment.