commit 41f87eb19b8374c6c913422a6bbfc1203e378fd5
Author: Nischal Sheth <email address hidden>
Date: Sun Dec 7 00:25:09 2014 -0800
Return const refs to RouteDistinguisher and EthernetSegmentId
Automatic copy constructor and assignment operator do not work for
RouteDistinguisher and EthernetSegmentId.
Return const refs to these classes instead of returning by value.
The only exception is the static ::FromString method.
Reviewed: https:/ /review. opencontrail. org/5667 github. org/Juniper/ contrail- controller/ commit/ 41f87eb19b8374c 6c913422a6bbfc1 203e378fd5
Committed: http://
Submitter: Zuul
Branch: R2.0
commit 41f87eb19b8374c 6c913422a6bbfc1 203e378fd5
Author: Nischal Sheth <email address hidden>
Date: Sun Dec 7 00:25:09 2014 -0800
Return const refs to RouteDistinguisher and EthernetSegmentId
Automatic copy constructor and assignment operator do not work for
RouteDistinguisher and EthernetSegmentId.
Return const refs to these classes instead of returning by value.
The only exception is the static ::FromString method.
Change-Id: I1493d1ccf5dfeb 8ef97b8d4c429c4 92cc61eddf5
Partial-Bug: 1399603