build: reanimate the dead
Fix build with ndn-cxx 0.7.1 and ChronoSync 0.5.3
* Adapt to new API
* Upgrade to Qt5
* Several other bugs
Refs: #4563, #4087
Change-Id: Ic55d687caade08f557f9b9ec3e9569bc96798710
diff --git a/src/profile.hpp b/src/profile.hpp
index a89a800..43dba96 100644
--- a/src/profile.hpp
+++ b/src/profile.hpp
@@ -18,7 +18,7 @@
#include <ndn-cxx/util/concepts.hpp>
#include <ndn-cxx/encoding/block.hpp>
#include <ndn-cxx/encoding/encoding-buffer.hpp>
-#include <ndn-cxx/security/identity-certificate.hpp>
+#include <ndn-cxx/security/certificate.hpp>
namespace chronochat {
@@ -44,7 +44,7 @@
{
}
- Profile(const ndn::IdentityCertificate& identityCertificate);
+ Profile(const ndn::security::Certificate& identityCertificate);
Profile(const Name& identityName);
@@ -54,6 +54,8 @@
Profile(const Profile& profile);
+ Profile(const Block& profileWire);
+
~Profile()
{
}
@@ -117,7 +119,7 @@
operator!=(const Profile& profile) const;
private:
- template<bool T>
+ template<ndn::encoding::Tag T>
size_t
wireEncode(ndn::EncodingImpl<T>& block) const;