Add a missing operator==.

This commit is contained in:
Guillaume Melquiond 2004-12-03 07:15:47 +00:00
parent 72e761aabd
commit 6fee6d635a

View file

@ -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;