build: == Dependency change == ChronoChat now depends on ndn-cxx library
Change-Id: I25d1abe8035c34a7d34cba53960e3456d6677fdc
diff --git a/src/profile.cpp b/src/profile.cpp
index 7bf7293..e6044fa 100644
--- a/src/profile.cpp
+++ b/src/profile.cpp
@@ -29,7 +29,7 @@
Name keyName = IdentityCertificate::certificateNameToPublicKeyName(identityCertificate.getName());
m_entries[std::string("IDENTITY")] = keyName.getPrefix(-1).toUri();
-
+
const std::vector<CertificateSubjectDescription>& subList = identityCertificate.getSubjectDescriptionList();
std::vector<CertificateSubjectDescription>::const_iterator it = subList.begin();
for(; it != subList.end(); it++)
@@ -59,8 +59,8 @@
}
Profile::Profile(const Name& identityName,
- const std::string& name,
- const std::string& institution)
+ const std::string& name,
+ const std::string& institution)
{
m_entries["IDENTITY"] = identityName.toUri();
m_entries["name"] = name;
@@ -82,7 +82,7 @@
void
Profile::decode(std::istream& is)
{
- Chronos::ProfileMsg profileMsg;
+ Chronos::ProfileMsg profileMsg;
profileMsg.ParseFromIstream(&is);
profileMsg >> (*this);
}
@@ -108,7 +108,7 @@
const Chronos::ProfileMsg::ProfileEntry& profileEntry = profileMsg.entry(i);
profile[profileEntry.oid()] = profileEntry.data();
}
-
+
return profileMsg;
}