Fix build breakage.

NOLINT annotations and c++ macros do not mix.

Change-Id: I990bee7190189566eb6e78ebec43ce9f01e305c3
This commit is contained in:
Sameer Agarwal
2014-02-24 13:45:24 -08:00
parent 6e3aad289f
commit c926b29640
+1 -1
View File
@@ -71,7 +71,7 @@ const double kDoubleMax = std::numeric_limits<double>::max();
static const double constrained_optimal_cost; \
static const double unconstrained_optimal_cost; \
static CostFunction* Create() { \
return new AutoDiffCostFunction<name, \ // NOLINT
return new AutoDiffCostFunction<name, \
num_residuals, \
num_parameters>(new name); \
} \