dissect: avoid deprecated overload of ndn::escape
Change-Id: Ifb9ffa1400b4109b4400f59367a079dac3a4e792
diff --git a/tools/dissect/dissector.cpp b/tools/dissect/dissector.cpp
index 9d72998..33677bc 100644
--- a/tools/dissect/dissector.cpp
+++ b/tools/dissect/dissector.cpp
@@ -168,7 +168,7 @@
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";