未验证 提交 0c98d2bf 编写于 作者: L Leo Chen 提交者: GitHub

remove maybe-uninitialized (#45204)

上级 c512afd2
...@@ -100,11 +100,7 @@ class reference_content { ...@@ -100,11 +100,7 @@ class reference_content {
public: // structors public: // structors
~reference_content() {} ~reference_content() {}
// TODO(zhiqiu): remove it
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wmaybe-uninitialized"
reference_content(RefT r) : content_(r) {} reference_content(RefT r) : content_(r) {}
#pragma GCC diagnostic pop
reference_content(const reference_content& operand) reference_content(const reference_content& operand)
: content_(operand.content_) {} : content_(operand.content_) {}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册