mirror of
https://github.com/boostorg/utility.git
synced 2025-09-26 09:10:54 +02:00
Fix compilation with MSVC 14.3 in C++20 mode.
This commit is contained in:
@@ -201,7 +201,7 @@ struct comparible_UDT
|
|||||||
i_ = other.i_;
|
i_ = other.i_;
|
||||||
return *this;
|
return *this;
|
||||||
}
|
}
|
||||||
bool operator == (const comparible_UDT& v){ return v.i_ == i_; }
|
bool operator == (const comparible_UDT& v) const { return v.i_ == i_; }
|
||||||
};
|
};
|
||||||
|
|
||||||
int main()
|
int main()
|
||||||
|
Reference in New Issue
Block a user