bool quit;
- bool operator ==(const DBObject & other) const
+ bool operator == (const DBObject & other) const
{
return (key == other.key && source == other.source && zone == other.zone &&
value == other.value && sequence == other.sequence && time == other.time);
{
size_t operator()(const DBObject & x) const
{
- return x.key.length();
+ return x.key.length() * x.value.length() + x.time;
}
};
}