mirror of
https://github.com/brunoherbelin/vimix.git
synced 2025-12-20 22:59:59 +01:00
Fix C++17 compilation warning
This commit is contained in:
@@ -132,9 +132,9 @@ typedef std::multiset<Node*, z_comparator> NodeSet;
|
||||
|
||||
//typedef std::list<Node*> NodeSet;
|
||||
|
||||
struct hasId: public std::unary_function<Node*, bool>
|
||||
struct hasId
|
||||
{
|
||||
inline bool operator()(const Node* e) const
|
||||
constexpr bool operator()(const Node* e) const
|
||||
{
|
||||
return (e && e->id() == _id);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user