diff options
author | Mauro Sardara <msardara+fdio@cisco.com> | 2017-04-18 11:25:13 +0200 |
---|---|---|
committer | Mauro Sardara <msardara+fdio@cisco.com> | 2017-04-18 09:31:56 +0000 |
commit | 7e312299ab4a84334af19e4988e9c5365626b80b (patch) | |
tree | d223f035dbcfb734dd6384c18c83fa6421a3aa1b /icnet/ccnx/icnet_ccnx_interest.cc | |
parent | 526f25cf2a8777e4cf88732b87076bf9457ae8df (diff) |
- Fixing code style issues
- Adding new feature to producer test: now it is possible to specify the size of the file to download
- Fixing initialization of max number of retransmissions in icnet_socket_consumer.cc
Change-Id: Ia7e48a4beda6adebf5179700c80f6d7316922187
Signed-off-by: Mauro Sardara <msardara+fdio@cisco.com>
Diffstat (limited to 'icnet/ccnx/icnet_ccnx_interest.cc')
-rw-r--r-- | icnet/ccnx/icnet_ccnx_interest.cc | 9 |
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) { |