Avoid deprecated ndn-cxx functions

Change-Id: I763368c2ea12902b4ea400f92c23b17ad5a5628e
diff --git a/src/lsa/lsa.cpp b/src/lsa/lsa.cpp
index c633549..738607e 100644
--- a/src/lsa/lsa.cpp
+++ b/src/lsa/lsa.cpp
@@ -1,6 +1,6 @@
 /* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
 /*
- * Copyright (c) 2014-2021,  The University of Memphis,
+ * Copyright (c) 2014-2022,  The University of Memphis,
  *                           Regents of the University of California,
  *                           Arizona Board of Regents.
  *
@@ -52,8 +52,7 @@
                                     ndn::tlv::nlsr::ExpirationTime,
                                     ndn::time::toString(m_expirationTimePoint));
 
-  totalLength += prependNonNegativeIntegerBlock(encoder, ndn::tlv::nlsr::SequenceNumber,
-                                                m_seqNo);
+  totalLength += prependNonNegativeIntegerBlock(encoder, ndn::tlv::nlsr::SequenceNumber, m_seqNo);
 
   totalLength += m_originRouter.wireEncode(encoder);
 
@@ -105,18 +104,15 @@
 operator<<(std::ostream& os, const Lsa::Type& type)
 {
   switch (type) {
-  case nlsr::Lsa::Type::ADJACENCY:
+  case Lsa::Type::ADJACENCY:
     os << "ADJACENCY";
     break;
-
-  case nlsr::Lsa::Type::COORDINATE:
+  case Lsa::Type::COORDINATE:
     os << "COORDINATE";
     break;
-
-  case nlsr::Lsa::Type::NAME:
+  case Lsa::Type::NAME:
     os << "NAME";
     break;
-
   default:
     os << "BASE";
     break;