Add a missing operator==.
This commit is contained in:
parent
72e761aabd
commit
6fee6d635a
1 changed files with 2 additions and 0 deletions
|
@ -66,6 +66,8 @@ struct preproc_define {
|
|||
: value(val), arguments(args) {}
|
||||
std::string value;
|
||||
std::vector<std::string> arguments;
|
||||
bool operator==(preproc_define const &p) const
|
||||
{ return value == p.value && arguments == p.arguments; }
|
||||
};
|
||||
|
||||
typedef std::map<std::string,preproc_define> preproc_map;
|
||||
|
|
Loading…
Add table
Reference in a new issue