未验证 提交 78cc64a5 编写于 作者: H helinwang 提交者: GitHub

Merge pull request #8475 from dzhwinter/fix/macros

small fix at macros
...@@ -19,7 +19,7 @@ limitations under the License. */ ...@@ -19,7 +19,7 @@ limitations under the License. */
#define DISABLE_COPY_AND_ASSIGN(classname) \ #define DISABLE_COPY_AND_ASSIGN(classname) \
private: \ private: \
classname(const classname&) = delete; \ classname(const classname&) = delete; \
classname(const classname&&) = delete; \ classname(classname&&) = delete; \
classname& operator=(const classname&) = delete; \ classname& operator=(const classname&) = delete; \
classname& operator=(const classname&&) = delete classname& operator=(classname&&) = delete
#endif #endif
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册