From c926b296409dc89d295c02a0bf9f3a327f5f64ee Mon Sep 17 00:00:00 2001 From: Sameer Agarwal Date: Mon, 24 Feb 2014 13:45:24 -0800 Subject: [PATCH] Fix build breakage. NOLINT annotations and c++ macros do not mix. Change-Id: I990bee7190189566eb6e78ebec43ce9f01e305c3 --- examples/more_garbow_hillstrom.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/more_garbow_hillstrom.cc b/examples/more_garbow_hillstrom.cc index 415839617..d3b58b5d7 100644 --- a/examples/more_garbow_hillstrom.cc +++ b/examples/more_garbow_hillstrom.cc @@ -71,7 +71,7 @@ const double kDoubleMax = std::numeric_limits::max(); static const double constrained_optimal_cost; \ static const double unconstrained_optimal_cost; \ static CostFunction* Create() { \ - return new AutoDiffCostFunction(new name); \ } \