Skip to content

Commit 3fd9266

Browse files
authored
Merge pull request #9564 from jacquesqiao/fix-compile
fix mac compile
2 parents 09fcf5f + 9a101cf commit 3fd9266

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

paddle/fluid/framework/details/var_handle.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
namespace paddle {
2323
namespace framework {
2424
namespace details {
25-
struct OpHandleBase;
25+
class OpHandleBase;
2626

2727
// VarHandleBase is the var node in the dependency graph.
2828
// A variable can only be generated by a single operator. i.e.

paddle/fluid/framework/parallel_executor.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ See the License for the specific language governing permissions and
1313
limitations under the License. */
1414

1515
#include "paddle/fluid/framework/parallel_executor.h"
16-
#include <string>
1716

18-
#include "ThreadPool.h"
17+
#include <string>
18+
#include <vector>
1919

2020
#ifdef PADDLE_WITH_CUDA
2121
#include "paddle/fluid/platform/nccl_helper.h"

0 commit comments

Comments
 (0)