Skip to content
Snippets Groups Projects
Commit 8790f71f authored by Adam Wardyński's avatar Adam Wardyński
Browse files

Fixing expected interface of sets i.e. bool intersects function, not a...

Fixing expected interface of sets i.e. bool intersects function, not a function returning actual intersection
parent 9dbd4bef
Branches
No related merge requests found
......@@ -61,9 +61,9 @@ public:
return false;
}
StrSet intersect(const StrSet& /*set*/) const {
bool intersects(const StrSet& /*set*/) const {
//TODO: implement this
return StrSet(set_t());
return false;
}
bool equals(const StrSet& /*set*/) const {
......
......@@ -42,9 +42,9 @@ public:
return false;
}
TSet intersect(const TSet& /*tset*/) const {
bool intersects(const TSet& /*tset*/) const {
//TODO: implement this
return TSet();
return false;
}
bool equals(const TSet& /*tset*/) const {
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment