diff options
Diffstat (limited to 'icnet/ccnx/icnet_ccnx_segment.cc')
-rw-r--r-- | icnet/ccnx/icnet_ccnx_segment.cc | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/icnet/ccnx/icnet_ccnx_segment.cc b/icnet/ccnx/icnet_ccnx_segment.cc index 4215650a..e487d41d 100644 --- a/icnet/ccnx/icnet_ccnx_segment.cc +++ b/icnet/ccnx/icnet_ccnx_segment.cc @@ -19,17 +19,20 @@ namespace icnet { namespace ccnx { -Segment::Segment(CCNxNameLabelType type, std::string &segment_value) : name_segment_( - ccnxNameSegment_CreateTypeValueArray(type, segment_value.length(), segment_value.c_str())) { +Segment::Segment(CCNxNameLabelType type, std::string &segment_value) + : name_segment_(ccnxNameSegment_CreateTypeValueArray(type, segment_value.length(), segment_value.c_str())) { } -Segment::Segment(CCNxNameSegmentStructure *segment) : name_segment_(ccnxNameSegment_Acquire(segment)) { +Segment::Segment(CCNxNameSegmentStructure *segment) + : name_segment_(ccnxNameSegment_Acquire(segment)) { } -Segment::Segment(const Segment &segment) : name_segment_(ccnxNameSegment_Copy(segment.name_segment_)) { +Segment::Segment(const Segment &segment) + : name_segment_(ccnxNameSegment_Copy(segment.name_segment_)) { } -Segment::Segment(Segment &&otherSegment) : name_segment_(ccnxNameSegment_Acquire(otherSegment.name_segment_)) { +Segment::Segment(Segment &&otherSegment) + : name_segment_(ccnxNameSegment_Acquire(otherSegment.name_segment_)) { } Segment::~Segment() { |