src: Fix compilation after ndn-cxx marked Component explicit
Change-Id: Id74423ea8144a16df63729153eba06f9f7943d1e
This commit is contained in:
+3
-2
@@ -131,7 +131,7 @@ public:
|
||||
const time::milliseconds& syncInterestLifetime = DEFAULT_SYNC_INTEREST_LIFETIME,
|
||||
const time::milliseconds& syncReplyFreshness = DEFAULT_SYNC_REPLY_FRESHNESS,
|
||||
const time::milliseconds& recoveryInterestLifetime = DEFAULT_RECOVERY_INTEREST_LIFETIME,
|
||||
const name::Component& session = {});
|
||||
const name::Component& session = name::Component());
|
||||
|
||||
~Logic();
|
||||
|
||||
@@ -170,7 +170,8 @@ public:
|
||||
* @param session manually defined session ID
|
||||
*/
|
||||
void
|
||||
addUserNode(const Name& userPrefix, const Name& signingId = DEFAULT_NAME, const name::Component& session = {});
|
||||
addUserNode(const Name& userPrefix, const Name& signingId = DEFAULT_NAME,
|
||||
const name::Component& session = name::Component());
|
||||
|
||||
/// @brief remove the node from the local session
|
||||
void
|
||||
|
||||
+3
-2
@@ -66,7 +66,7 @@ public:
|
||||
const Name& signingId = DEFAULT_NAME,
|
||||
std::shared_ptr<Validator> validator = DEFAULT_VALIDATOR,
|
||||
const time::milliseconds& syncInterestLifetime = Logic::DEFAULT_SYNC_INTEREST_LIFETIME,
|
||||
const name::Component& session = {});
|
||||
const name::Component& session = name::Component());
|
||||
|
||||
~Socket();
|
||||
|
||||
@@ -86,7 +86,8 @@ public:
|
||||
* @param session Manually defined session number
|
||||
*/
|
||||
void
|
||||
addSyncNode(const Name& prefix, const Name& signingId = DEFAULT_NAME, const name::Component& session = {});
|
||||
addSyncNode(const Name& prefix, const Name& signingId = DEFAULT_NAME,
|
||||
const name::Component& session = name::Component());
|
||||
|
||||
/**
|
||||
* @brief Remove a sync node under same logic
|
||||
|
||||
Reference in New Issue
Block a user