Commit Graph

3 Commits

Author SHA1 Message Date
Alex Stewart e9009829b5 Fix use of unnamed type as template argument warnings on Clang.
- When compiling Ceres without C++11 but with glog, then the unnamed
  enum results in a compiler warning when
  google::GetReferenceableValue(.) is invoked with the unnamed enum as a
  template parameter (unnamed-type-template-args) which was not legal
  prior to C++11.

Change-Id: Iddbed05e2199865ab915f2c5817ce917bb0609b5
2017-12-01 10:12:54 +00:00
Keir Mierle b485002bb7 Replace template use of >>
Older compilers do not support >> to terminate
templates, only > >. Ceres supports old compilers.

Change-Id: I7e43dc9fdac06507b32dd0c9bf1a3bc2a544916b
2017-10-14 16:08:17 -07:00
Sameer Agarwal 8beedf5cf6 Add TinySolverCostFunctionAdapter
Change-Id: I1905044d09abe5c927cd7e2cda804cba516fd961
2017-10-14 15:12:01 -07:00