commit 6da724d897cd1fa78801a0fae4b3d31858fc0a29
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/5666 github. org/Juniper/ contrail- controller/ commit/ 6da724d897cd1fa 78801a0fae4b3d3 1858fc0a29
Committed: http://
Submitter: Zuul
Branch: master
commit 6da724d897cd1fa 78801a0fae4b3d3 1858fc0a29
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