From ef9b36873d4902eb694c040c55e8bbc036c23ab7 Mon Sep 17 00:00:00 2001 From: silingtong123 <35439432+silingtong123@users.noreply.github.com> Date: Fri, 5 Jun 2020 15:56:49 +0800 Subject: [PATCH] test=develop, remove the gflags/gflags.h form paddle_api.h (#24921) --- paddle/fluid/inference/api/api.cc | 1 + paddle/fluid/inference/api/paddle_api.h | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/paddle/fluid/inference/api/api.cc b/paddle/fluid/inference/api/api.cc index d5415c3f26e..591341b3644 100644 --- a/paddle/fluid/inference/api/api.cc +++ b/paddle/fluid/inference/api/api.cc @@ -13,6 +13,7 @@ // limitations under the License. #include +#include "gflags/gflags.h" #include "paddle/fluid/framework/commit.h" #include "paddle/fluid/framework/lod_tensor.h" #include "paddle/fluid/framework/scope.h" diff --git a/paddle/fluid/inference/api/paddle_api.h b/paddle/fluid/inference/api/paddle_api.h index 15fb96cae36..11d30d3347c 100644 --- a/paddle/fluid/inference/api/paddle_api.h +++ b/paddle/fluid/inference/api/paddle_api.h @@ -27,7 +27,6 @@ #include #include #include -#include "gflags/gflags.h" // NOLINT #include "paddle_infer_declare.h" // NOLINT /*! \namespace paddle -- GitLab