mirror of
https://github.com/ceres-solver/ceres-solver.git
synced 2026-08-29 16:40:38 +08:00
5ce6c063db
The move constructor of ExpressionRef now implements the copy elision, which was incorrectly done by the copy constructor. This patch also updates the CMakeList to only add the Expression tests for gcc. This is currently required, because the AutoDiffCodeGen system relies on implementation defined behaviour. (Evalution order + copy elision) Change-Id: Ib17aeb22bd4d81de6d838b55c1b6497fb3740d0e