Skip to content

Commit

Permalink
add prefix for DISABLE_COPY_AND_ASSIGN
Browse files Browse the repository at this point in the history
  • Loading branch information
chenwhql committed Feb 9, 2021
1 parent e24aba2 commit 5d0088d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions paddle/fluid/extension/include/op_meta_info.h
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ class OpMetaInfoHelper;

using Tensor = paddle::Tensor;

#define DISABLE_COPY_AND_ASSIGN(classname) \
#define PD_DISABLE_COPY_AND_ASSIGN(classname) \
private: \
classname(const classname&) = delete; \
classname(classname&&) = delete; \
Expand Down Expand Up @@ -265,7 +265,7 @@ class OpMetaInfoMap {
OpMetaInfoMap() = default;
std::unordered_map<std::string, std::vector<OpMetaInfo>> map_;

DISABLE_COPY_AND_ASSIGN(OpMetaInfoMap);
PD_DISABLE_COPY_AND_ASSIGN(OpMetaInfoMap);
};

//////////////// Op Meta Info Builder /////////////////
Expand Down

1 comment on commit 5d0088d

@paddle-bot-old
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Congratulation! Your pull request passed all required CI. You could ask reviewer(s) to approve and merge. 🎉

Please sign in to comment.