From 9d2d3096c505b045c744503d55132cabca764204 Mon Sep 17 00:00:00 2001 From: JiabinYang Date: Wed, 19 Sep 2018 04:54:54 +0000 Subject: [PATCH] fix mac compile error --- paddle/fluid/operators/array_to_lod_tensor_op.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/paddle/fluid/operators/array_to_lod_tensor_op.cc b/paddle/fluid/operators/array_to_lod_tensor_op.cc index bc725e5357..b8b8b2290a 100644 --- a/paddle/fluid/operators/array_to_lod_tensor_op.cc +++ b/paddle/fluid/operators/array_to_lod_tensor_op.cc @@ -25,7 +25,7 @@ namespace operators { using LoD = framework::LoD; -class ArrayToLoDFunctor; +struct ArrayToLoDFunctor; template struct ArrayToLoDFunctorImpl { const ArrayToLoDFunctor *prev_functor_; -- GitLab