aboutsummaryrefslogtreecommitdiffstats
path: root/icnet/ccnx/icnet_ccnx_interest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'icnet/ccnx/icnet_ccnx_interest.cc')
-rw-r--r--icnet/ccnx/icnet_ccnx_interest.cc9
1 files changed, 4 insertions, 5 deletions
diff --git a/icnet/ccnx/icnet_ccnx_interest.cc b/icnet/ccnx/icnet_ccnx_interest.cc
index a2bcf72e..6b0f92cb 100644
--- a/icnet/ccnx/icnet_ccnx_interest.cc
+++ b/icnet/ccnx/icnet_ccnx_interest.cc
@@ -31,9 +31,8 @@ Interest::Interest(CCNxInterestStruct *interest)
: name_(ccnxInterest_GetName(interest)), interest_(ccnxInterest_Acquire(interest)) {
}
-Interest::Interest(const Interest &other_interest) : name_(other_interest.name_),
- interest_(ccnxInterest_CreateSimple(other_interest.name_
- .getWrappedStructure())) {
+Interest::Interest(const Interest &other_interest)
+ : name_(other_interest.name_), interest_(ccnxInterest_CreateSimple(other_interest.name_.getWrappedStructure())) {
PARCBuffer *buffer = nullptr;
// Key Id restriction
@@ -58,8 +57,8 @@ Interest::Interest(const Interest &other_interest) : name_(other_interest.name_)
ccnxInterest_SetLifetime(interest_, ccnxInterest_GetLifetime(other_interest.interest_));
}
-Interest::Interest(Interest &&other_interest) : name_(std::move(other_interest.name_)),
- interest_(ccnxInterest_Acquire(other_interest.interest_)) {
+Interest::Interest(Interest &&other_interest)
+ : name_(std::move(other_interest.name_)), interest_(ccnxInterest_Acquire(other_interest.interest_)) {
}
Interest &Interest::operator=(const Interest &other_interest) {