提交 d9394fbf 编写于 作者: A alesapin

Fix code

上级 5ce0c21b
......@@ -83,13 +83,13 @@ struct MultiEnum
template <typename ValueType, typename = std::enable_if_t<std::is_convertible_v<ValueType, StorageType>>>
friend bool operator==(ValueType left, MultiEnum right)
{
return right == left;
return right.operator==(left);
}
template <typename L>
friend bool operator!=(L left, MultiEnum right)
{
return !(right == left);
return !(right.operator==(left));
}
private:
......
......@@ -92,7 +92,7 @@
"with_coverage": false
},
{
"compiler": "gcc-10",
"compiler": "gcc-9",
"build-type": "",
"sanitizer": "",
"package-type": "deb",
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册