Comment 9 for bug 1399603

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

Reviewed: https://review.opencontrail.org/5666
Committed: http://github.org/Juniper/contrail-controller/commit/6da724d897cd1fa78801a0fae4b3d31858fc0a29
Submitter: Zuul
Branch: master

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.

Change-Id: I1493d1ccf5dfeb8ef97b8d4c429c492cc61eddf5
Partial-Bug: 1399603