Comment 10 for bug 1399603

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/5667
Committed: http://github.org/Juniper/contrail-controller/commit/41f87eb19b8374c6c913422a6bbfc1203e378fd5
Submitter: Zuul
Branch: R2.0

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.

Change-Id: I1493d1ccf5dfeb8ef97b8d4c429c492cc61eddf5
Partial-Bug: 1399603