lp: use ndn::to_string instead of std::to_string
refs #2930
Change-Id: Ib245e0a56f74eebed7f062ef2ced0313ef36a908
diff --git a/src/lp/detail/field-decl.hpp b/src/lp/detail/field-decl.hpp
index 49e3c07..3461906 100644
--- a/src/lp/detail/field-decl.hpp
+++ b/src/lp/detail/field-decl.hpp
@@ -125,7 +125,7 @@
decode(const Block& wire)
{
if (wire.type() != TlvType::value) {
- BOOST_THROW_EXCEPTION(ndn::tlv::Error("Unexpected TLV type " + std::to_string(wire.type())));
+ BOOST_THROW_EXCEPTION(ndn::tlv::Error("Unexpected TLV type " + to_string(wire.type())));
}
return DecodeHelper<TlvType, ValueType>::decode(wire);